[Tasks] WIP

This commit is contained in:
Matej Glasnák committed 2023-02-17 16:19:11 +01:00
1 parent e34386b179
commit c69f022423
15 files changed
+335 -307

No files matched your search

@@ -125,7 +125,7 @@ export default {
},
mounted() {
this.$events.on("on-task-edited", (task) => {
this.$events.on("on-subtask-edited", (task) => {
if (task?.id == this.task?.id)
this.task = this._enrichTask(task)
@@ -179,7 +179,7 @@ export default {
this.$store.commit('tm/update_subtask', subtask)
}
this.$events.emit("on-task-edited", this.task)
this.$events.emit("on-subtask-edited", this.task)
this.closeModal()
} catch (error) {
this.$toast.error(error)