Update dashboard

This commit is contained in:
Cagatay Civici
2024-07-29 16:48:03 +03:00
parent 0e3130d2a6
commit 7c7cc7ce70
10 changed files with 122 additions and 378 deletions
+3 -1
View File
@@ -56,5 +56,7 @@ export function useLayout() {
const isDarkTheme = computed(() => layoutConfig.darkTheme);
return { layoutConfig: toRefs(layoutConfig), layoutState: toRefs(layoutState), onMenuToggle, isSidebarActive, isDarkTheme, setActiveMenuItem, toggleDarkMode, setPrimary, setSurface, setPreset };
const getPrimary = computed(() => layoutConfig.primary);
return { layoutConfig: toRefs(layoutConfig), layoutState: toRefs(layoutState), onMenuToggle, isSidebarActive, isDarkTheme, getPrimary, setActiveMenuItem, toggleDarkMode, setPrimary, setSurface, setPreset };
}