refactor: check role head_of_account

This commit is contained in:
Net 2024-09-04 14:37:22 +07:00
parent e01eea2087
commit fa1f2f61ef
2 changed files with 3 additions and 1 deletions

View file

@ -42,7 +42,8 @@ onMounted(async () => {
role.value.includes('branch_admin') ||
role.value.includes('head_of_admin') ||
role.value.includes('system') ||
role.value.includes('owner')
role.value.includes('owner') ||
role.value.includes('head_of_account')
? false
: true,
},

View file

@ -21,6 +21,7 @@ const routes: RouteRecordRaw[] = [
'admin',
'branch_admin',
'head_of_admin',
'head_of_account',
'system',
'owner',
])