fix(Navigation): Default open navigation if no local storage is set

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-01-02 11:53:46 +01:00
parent 4ab70617a5
commit 8b94750e85

View File

@@ -60,7 +60,7 @@ export default new Vuex.Store({
state: {
config: loadState('deck', 'config', {}),
showArchived: false,
navShown: localStorage.getItem('deck.navShown') === 'true',
navShown: localStorage.getItem('deck.navShown') === null || localStorage.getItem('deck.navShown') === 'true',
compactMode: localStorage.getItem('deck.compactMode') === 'true',
sidebarShown: false,
currentBoard: null,