first commit
This commit is contained in:
@@ -8,8 +8,10 @@ import AppTopbar from './AppTopbar.vue';
|
||||
const { layoutConfig, layoutState, isSidebarActive, resetMenu } = useLayout();
|
||||
|
||||
const outsideClickListener = ref(null);
|
||||
const page = ref("progetti");
|
||||
|
||||
watch(isSidebarActive, (newVal) => {
|
||||
//console.log("routerLink", routerLink);
|
||||
if (newVal) {
|
||||
bindOutsideClickListener();
|
||||
} else {
|
||||
@@ -54,7 +56,7 @@ const isOutsideClicked = (event) => {
|
||||
|
||||
<template>
|
||||
<div class="layout-wrapper" :class="containerClass">
|
||||
<app-topbar></app-topbar>
|
||||
<app-topbar :page="page"></app-topbar>
|
||||
<div class="layout-sidebar">
|
||||
<app-sidebar></app-sidebar>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user