Fix list not being removed from the menu list when deleting it
This commit is contained in:
parent
4733963749
commit
2d70c1aabd
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ export default {
|
||||||
deleteList() {
|
deleteList() {
|
||||||
this.listService.delete(this.list)
|
this.listService.delete(this.list)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
this.$store.commit('namespaces/removeListFromNamespaceById', this.list)
|
||||||
this.success({message: 'The list was successfully deleted.'}, this)
|
this.success({message: 'The list was successfully deleted.'}, this)
|
||||||
router.push({name: 'home'})
|
router.push({name: 'home'})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue