mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 15:29:59 +00:00
fix: remove nav buttons from initial selection on setting page (#2803)
This commit is contained in:
parent
14162f8bcb
commit
9c916e0932
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const defaultSelectedNavButtonNames = computed<NavButtonName[]>(() =>
|
||||||
: ['explore', 'local', 'federated', 'moreMenu'],
|
: ['explore', 'local', 'federated', 'moreMenu'],
|
||||||
)
|
)
|
||||||
const navButtonNamesSetting = useLocalStorage<NavButtonName[]>(STORAGE_KEY_BOTTOM_NAV_BUTTONS, defaultSelectedNavButtonNames.value)
|
const navButtonNamesSetting = useLocalStorage<NavButtonName[]>(STORAGE_KEY_BOTTOM_NAV_BUTTONS, defaultSelectedNavButtonNames.value)
|
||||||
const selectedNavButtonNames = ref(navButtonNamesSetting.value)
|
const selectedNavButtonNames = ref<NavButtonName[]>([])
|
||||||
|
|
||||||
const selectedNavButtons = computed<NavButton[]>(() =>
|
const selectedNavButtons = computed<NavButton[]>(() =>
|
||||||
selectedNavButtonNames.value.map(name =>
|
selectedNavButtonNames.value.map(name =>
|
||||||
|
|
Loading…
Reference in a new issue