mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
[Refactoring]
This commit is contained in:
1 parent
26138f69b3
commit
ca1cbd723a
25 files changed
+215
-206
No files matched your search
@@ -28,7 +28,7 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
async showModal(team) {
|
||||
async showModal({team}) {
|
||||
this.team = team
|
||||
this.visible = true
|
||||
},
|
||||
|
||||
@@ -98,9 +98,10 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
async showModal(team = null) {
|
||||
async showModal({ team = null}) {
|
||||
this.visible = true
|
||||
this.team = null
|
||||
this.$nextTick(() => this.v$.$reset())
|
||||
|
||||
try {
|
||||
const allEmployees = await this.$axios.get_auth_data('v1/employees')
|
||||
|
||||
Reference in new issue
Block a user