refactor: check role head_of_account
This commit is contained in:
parent
e01eea2087
commit
fa1f2f61ef
2 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ const routes: RouteRecordRaw[] = [
|
|||
'admin',
|
||||
'branch_admin',
|
||||
'head_of_admin',
|
||||
'head_of_account',
|
||||
'system',
|
||||
'owner',
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue