Skip to content

Commit

Permalink
fix: MenuBottom settings are always empty (#3091)
Browse files Browse the repository at this point in the history
Co-authored-by: Clovis <[email protected]>
  • Loading branch information
Cl0v1s and Clovis authored Dec 16, 2024
1 parent 1e156ec commit 83513bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/settings/SettingsBottomNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand Down

0 comments on commit 83513bf

Please sign in to comment.