Refactor layout components and update theme configuration

This commit is contained in:
andrea.terzani
2024-10-28 19:22:04 +01:00
parent d5492e596f
commit fc7f20c2a4
6 changed files with 45 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ import AppSidebar from './AppSidebar.vue';
import AppTopbar from './AppTopbar.vue';
const { hideMenu, layoutConfig, layoutState, isSidebarActive, resetMenu } = useLayout();
const { hideMenu, layoutConfig, layoutState, isSidebarActive, resetMenu,setPrimary, setPreset } = useLayout();
const outsideClickListener = ref(null);
const page = ref("progetti");
@@ -16,8 +16,8 @@ const userPrefStore = UserPrefStore();
const route = useRoute();
onMounted(() => {
userPrefStore.fetchUserData();
});
watch(isSidebarActive, (newVal) => {