refactor: Check role

This commit is contained in:
Net 2024-08-30 11:01:03 +07:00
parent e7bd54156d
commit 762fcd84b2
2 changed files with 4 additions and 2 deletions

View file

@ -55,7 +55,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('branch_manager')
? false
: true,
},

View file

@ -40,7 +40,8 @@ onMounted(() => {
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('branch_manager')
? false
: true,
},