From 503a7978f52bcf5cb7ef5c5de4c78f018ba4d65f Mon Sep 17 00:00:00 2001 From: pa Date: Thu, 26 Feb 2026 19:30:33 +0900 Subject: [PATCH] Allow sidebar use panel collapse/expand instead of conditional rendering --- src/stores/settings/appearance.js | 1 - src/views/Layout/MainLayout.vue | 46 +++++++++++++++++++------------ 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/src/stores/settings/appearance.js b/src/stores/settings/appearance.js index 70a1ab3b..5ae11ad9 100644 --- a/src/stores/settings/appearance.js +++ b/src/stores/settings/appearance.js @@ -102,7 +102,6 @@ export const useAppearanceSettingsStore = defineStore( return ![ 'friends-locations', 'friend-list', - 'charts', 'charts-instance', 'charts-mutual' ].includes(currentRouteName); diff --git a/src/views/Layout/MainLayout.vue b/src/views/Layout/MainLayout.vue index 817488a2..404c37c1 100644 --- a/src/views/Layout/MainLayout.vue +++ b/src/views/Layout/MainLayout.vue @@ -29,23 +29,22 @@ - + + + + @@ -83,7 +82,7 @@