fix: directly set arrays, objects and delete directly

Not needed since vue3 uses proxies
This commit is contained in:
Dominik Pschenitschni 2021-08-19 21:35:38 +02:00
parent 2b20f328cb
commit db49b9b532
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
33 changed files with 104 additions and 113 deletions

View file

@ -561,7 +561,7 @@ export default {
this.taskId = Number(this.$route.params.id)
this.taskService.get({id: this.taskId})
.then(r => {
this.$set(this, 'task', r)
this.task = r
this.$store.commit('attachments/set', r.attachments)
this.taskColor = this.task.hexColor
this.setActiveFields()