This commit is contained in:
romankko2 committed 2023-08-09 15:28:14 +02:00
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]
},
}
}