[Projects] Fixed autoupdate after project create

This commit is contained in:
Matej Glasnák committed 2023-03-02 09:15:18 +01:00
1 parent 6b73deb0f4
commit 26138f69b3
5 files changed
+18 -8

No files matched your search

@@ -55,8 +55,8 @@ export default {
},
watch: {
'mastertask.team_id'(value, oldValue) {
if (!value || !oldValue) return
'mastertask.team_id'(value) {
if (!value) return
this.mastertask.team = this.teams.find(team => team.id == value)
this.mastertask.employees = this.mastertask.team.employees