mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
fixy
This commit is contained in:
1 parent
a2fb04d3b2
commit
63b66084e1
8 files changed
+42
-28
No files matched your search
@@ -73,8 +73,11 @@ export default {
|
||||
'mastertask.team_id'(value) {
|
||||
if (!value) return
|
||||
|
||||
this.mastertask.team = this.teams.find(team => team.id == value)
|
||||
this.mastertask.employees = this.mastertask.team.employees
|
||||
const team = this.teams.find(team => team.id == value)
|
||||
if (!team) return
|
||||
|
||||
this.mastertask.team = JSON.parse(JSON.stringify(team))
|
||||
this.mastertask.employees = [...this.mastertask.team.employees]
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user