From 83513bf624da638d8db6f0b054083f3a8276c3c2 Mon Sep 17 00:00:00 2001
From: Clovis <clovis@bdx.town>
Date: Mon, 16 Dec 2024 05:12:48 +0100
Subject: [PATCH] fix: MenuBottom settings are always empty (#3091)

Co-authored-by: Clovis <clovis@synapse-medicine.com>
---
 components/settings/SettingsBottomNav.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/settings/SettingsBottomNav.vue b/components/settings/SettingsBottomNav.vue
index 65575f9a..27ef55e3 100644
--- a/components/settings/SettingsBottomNav.vue
+++ b/components/settings/SettingsBottomNav.vue
@@ -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 =>