mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-19 17:57:05 +03:00
fix: MenuBottom settings are always empty (#3091)
Co-authored-by: Clovis <clovis@synapse-medicine.com>
This commit is contained in:
parent
1e156ec82b
commit
83513bf624
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const defaultSelectedNavButtonNames = computed<NavButtonName[]>(() =>
|
|||
: ['explore', 'local', 'federated', 'moreMenu'],
|
||||
)
|
||||
const navButtonNamesSetting = useLocalStorage<NavButtonName[]>(STORAGE_KEY_BOTTOM_NAV_BUTTONS, defaultSelectedNavButtonNames.value)
|
||||
const selectedNavButtonNames = ref<NavButtonName[]>([])
|
||||
const selectedNavButtonNames = ref<NavButtonName[]>(navButtonNamesSetting.value)
|
||||
|
||||
const selectedNavButtons = computed<NavButton[]>(() =>
|
||||
selectedNavButtonNames.value.map(name =>
|
||||
|
|
Loading…
Reference in a new issue