feat: static navigation menu option

This commit is contained in:
NGPixel
2020-04-25 17:45:59 -04:00
parent a1515e3f3e
commit bbe64ef6b6
4 changed files with 14 additions and 1 deletions

View File

@@ -198,6 +198,8 @@ export default {
this.currentParent.title = `/ ${this.$t('common:sidebar.root')}`
if (this.navMode === 'TREE') {
this.currentMode = 'browse'
} else if (this.navMode === 'STATIC') {
this.currentMode = 'custom'
} else {
this.currentMode = window.localStorage.getItem('navPref') || 'custom'
}