From 4e61762130273e21fb396ef32ac22079a6f0374f Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 24 Mar 2025 10:36:46 +0700 Subject: [PATCH] fix: correct role name from 'account' to 'accountant' and update route syntax --- src/layouts/DrawerComponent.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/layouts/DrawerComponent.vue b/src/layouts/DrawerComponent.vue index e7664456..c1b01436 100644 --- a/src/layouts/DrawerComponent.vue +++ b/src/layouts/DrawerComponent.vue @@ -143,7 +143,7 @@ function initMenu() { 'admin', 'branch_manager', 'head_of_accountant', - 'account', + 'accountant', 'head_of_sale', 'sale', ]), @@ -175,7 +175,7 @@ function initMenu() { 'admin', 'branch_manager', 'head_of_accountant', - 'account', + 'accountant', 'head_of_sale', 'sale', ]), @@ -213,7 +213,7 @@ function initMenu() { children: [ { label: 'usage', - route: `/manual`, + route: '/manual', }, ], }, @@ -500,8 +500,9 @@ onMounted(async () => { +