1
0

Fix removing a namespace from state after it was deleted

This commit is contained in:
kolaente
2021-05-26 17:39:57 +02:00
parent 188134ae2e
commit 9c799ab161
3 changed files with 12 additions and 5 deletions

View File

@ -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,