mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[Projects] Fixed autoupdate after project create
This commit is contained in:
1 parent
6b73deb0f4
commit
26138f69b3
5 files changed
+18
-8
No files matched your search
@@ -46,6 +46,16 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.$events.on('on-mastertask-edited', () => this.onFilterChanged(this.filter))
|
||||
this.$events.on('on-mastertask-deleted', () => this.onFilterChanged(this.filter))
|
||||
},
|
||||
|
||||
unmounted() {
|
||||
this.$events.off('on-mastertask-edited')
|
||||
this.$events.off('on-mastertask-deleted')
|
||||
},
|
||||
|
||||
methods: {
|
||||
async onFilterChanged(filter) {
|
||||
this.mastertasks = null
|
||||
|
||||
Reference in new issue
Block a user