split charts into separate routes (#1605)

This commit is contained in:
pa
2026-02-03 00:07:09 +09:00
parent 1cbafbeaeb
commit bbbb79eaca
9 changed files with 290 additions and 265 deletions

View File

@@ -97,11 +97,13 @@ export const useAppearanceSettingsStore = defineStore(
const isNavCollapsed = ref(true);
const isSideBarTabShow = computed(() => {
const currentRouteName = router.currentRoute.value?.name;
return !(
currentRouteName === 'friends-locations' ||
currentRouteName === 'friend-list' ||
currentRouteName === 'charts'
);
return ![
'friends-locations',
'friend-list',
'charts',
'charts-instance',
'charts-mutual'
].includes(currentRouteName);
});
const isDataTableStriped = ref(false);