refactor: remove can access
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
Thanaphon Frappet 2025-07-11 11:11:16 +07:00
parent ac50ef1c7c
commit ed55d07e38
2 changed files with 4 additions and 6 deletions

View file

@ -93,6 +93,10 @@ function initMenu() {
route: '/property',
hidden: !canAccess('workflow'),
},
{
label: 'businessType',
route: '/business-type',
},
{
label: 'productService',
route: '/product-service',
@ -106,10 +110,6 @@ function initMenu() {
label: 'agencies',
route: '/agencies-management',
},
{
label: 'businessType',
route: '/business-type',
},
],
},
{

View file

@ -543,7 +543,6 @@ watch(
<q-td>
<KebabAction
v-if="canAccess('agencies', 'edit')"
hide-toggle
hide-view
:id-name="props.row.name"
@ -606,7 +605,6 @@ watch(
class="row q-ml-auto items-center justify-end no-wrap"
>
<KebabAction
v-if="canAccess('agencies', 'edit')"
hide-toggle
hide-view
:id-name="props.row.id"