Fix list not being removed from the menu list when deleting it
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-11-12 19:50:41 +01:00
parent 4733963749
commit 2d70c1aabd
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

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'})
})