Fix list not being removed from the menu list when deleting it

This commit is contained in:
kolaente 2020-11-12 19:50:41 +01:00
parent 4733963749
commit 2d70c1aabd
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -250,6 +250,7 @@ export default {
deleteList() {
this.listService.delete(this.list)
.then(() => {
this.$store.commit('namespaces/removeListFromNamespaceById', this.list)
this.success({message: 'The list was successfully deleted.'}, this)
router.push({name: 'home'})
})