diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue
index d25fe43a2..778fda213 100644
--- a/src/components/Navbar.vue
+++ b/src/components/Navbar.vue
@@ -1,5 +1,3 @@
-
-
-
+
diff --git a/src/composables/useState.js b/src/composables/useState.js
index 2f182d651..78ff4257f 100644
--- a/src/composables/useState.js
+++ b/src/composables/useState.js
@@ -8,6 +8,8 @@ const user = ref({
const roles = ref([]);
+const drawer = ref(true);
+
export function useState() {
function getUser() {
return computed(() => {
@@ -42,5 +44,6 @@ export function useState() {
setUser,
getRoles,
setRoles,
+ drawer
};
}
diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
index 2bb425ab1..9ba7063a4 100644
--- a/src/layouts/MainLayout.vue
+++ b/src/layouts/MainLayout.vue
@@ -1,21 +1,12 @@
-
+
-
+
diff --git a/src/pages/Customer/Card/CustomerCard.vue b/src/pages/Customer/Card/CustomerCard.vue
index 5d5b3ac0d..452ecb9dd 100644
--- a/src/pages/Customer/Card/CustomerCard.vue
+++ b/src/pages/Customer/Card/CustomerCard.vue
@@ -1,9 +1,14 @@
+
-
+
- Descriptor
+
diff --git a/src/pages/Customer/CustomerMain.vue b/src/pages/Customer/CustomerMain.vue
index f27c822cb..731ebb803 100644
--- a/src/pages/Customer/CustomerMain.vue
+++ b/src/pages/Customer/CustomerMain.vue
@@ -1,14 +1,15 @@
import { ref } from 'vue';
+import { useState } from 'src/composables/useState';
import LeftMenu from 'src/components/LeftMenu.vue';
+const state = useState();
+const miniState = ref(true);
+
const slide = ref('style');
const slideText = 'Description text';
-const drawer = ref(false);
-const miniState = ref(true);