mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[Master task, sub task] API
This commit is contained in:
1 parent
4429e3e566
commit
6e8f57d06d
11 files changed
+188
-111
No files matched your search
@@ -76,6 +76,16 @@ export default {
|
||||
this._getData()
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.$events.on('on-master-task-deleted', (masterTask) => {
|
||||
this.masterTasks = this.masterTasks.filter(mt => mt.id != masterTask.id)
|
||||
})
|
||||
|
||||
this.$events.on('on-master-task-edited', (masterTask) => {
|
||||
this._getData()
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
async _getData() {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user