mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
[Tasks] WIP
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user