Fix removing a namespace from state after it was deleted
This commit is contained in:
parent
188134ae2e
commit
9c799ab161
3 changed files with 12 additions and 5 deletions
|
|
@ -131,9 +131,7 @@ export default {
|
|||
NamespaceSettingsDropdown,
|
||||
},
|
||||
computed: mapState({
|
||||
namespaces(state) {
|
||||
return state.namespaces.namespaces.filter(n => !n.isArchived)
|
||||
},
|
||||
namespaces: state => state.namespaces.namespaces.filter(n => !n.isArchived),
|
||||
currentList: CURRENT_LIST,
|
||||
background: 'background',
|
||||
menuActive: MENU_ACTIVE,
|
||||
|
|
|
|||
Reference in a new issue