Refactor layout components and update theme configuration
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user