From 2d70c1aabda592a7846f2325a4a8a4f16b1bf600 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 12 Nov 2020 19:50:41 +0100 Subject: [PATCH] Fix list not being removed from the menu list when deleting it --- src/views/list/EditList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/list/EditList.vue b/src/views/list/EditList.vue index 4185da98..c4f1f9e4 100644 --- a/src/views/list/EditList.vue +++ b/src/views/list/EditList.vue @@ -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'}) })