action:confirmed fix in leaving shared folder

This commit is contained in:
Čarodej
2021-11-04 10:45:27 +01:00
parent 29cb889283
commit 8d8fdbf9ba
4 changed files with 199 additions and 7 deletions

View File

@@ -230,7 +230,7 @@
events.$emit('popup:open', {name: 'create-folder'})
},
},
created() {
mounted() {
this.$store.dispatch('getTeamFolder', this.$route.params.id)
events.$on('context-menu:show', (event, item) => this.item = item)
@@ -255,6 +255,9 @@
})
.catch(() => this.$isSomethingWrong())
})
},
beforeDestroy() {
events.$off('action:confirmed')
}
}
</script>