From ba9a50e747c0c266285b0aa3502a99afece3b3df Mon Sep 17 00:00:00 2001 From: NoriDev Date: Tue, 19 Nov 2024 15:57:38 +0900 Subject: [PATCH] enhance and fix navbar fix(frontend/friendly): 0df6c79 --- .../frontend/src/pages/settings/navbar.vue | 4 -- .../src/ui/_common_/navbar-for-mobile.vue | 17 +++++-- packages/frontend/src/ui/_common_/navbar.vue | 15 +++++-- .../src/ui/friendly/navbar-for-mobile.vue | 17 +++++-- packages/frontend/src/ui/friendly/navbar.vue | 45 +++++++++++-------- 5 files changed, 65 insertions(+), 33 deletions(-) diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index 4795ac8ff2..8eb9dbef83 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -178,10 +178,6 @@ function learnMoreBottomNavbar() { }); } -watch([bannerDisplay], async () => { - await reloadAsk({ reason: i18n.ts.reloadToApplySetting, unison: true }); -}); - const headerActions = computed(() => []); const headerTabs = computed(() => []); diff --git a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue index c2083be1ba..a63f3a5497 100644 --- a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue @@ -5,9 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only