refactor: remove can access
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
ac50ef1c7c
commit
ed55d07e38
2 changed files with 4 additions and 6 deletions
|
|
@ -93,6 +93,10 @@ function initMenu() {
|
||||||
route: '/property',
|
route: '/property',
|
||||||
hidden: !canAccess('workflow'),
|
hidden: !canAccess('workflow'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'businessType',
|
||||||
|
route: '/business-type',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'productService',
|
label: 'productService',
|
||||||
route: '/product-service',
|
route: '/product-service',
|
||||||
|
|
@ -106,10 +110,6 @@ function initMenu() {
|
||||||
label: 'agencies',
|
label: 'agencies',
|
||||||
route: '/agencies-management',
|
route: '/agencies-management',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: 'businessType',
|
|
||||||
route: '/business-type',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -543,7 +543,6 @@ watch(
|
||||||
|
|
||||||
<q-td>
|
<q-td>
|
||||||
<KebabAction
|
<KebabAction
|
||||||
v-if="canAccess('agencies', 'edit')"
|
|
||||||
hide-toggle
|
hide-toggle
|
||||||
hide-view
|
hide-view
|
||||||
:id-name="props.row.name"
|
:id-name="props.row.name"
|
||||||
|
|
@ -606,7 +605,6 @@ watch(
|
||||||
class="row q-ml-auto items-center justify-end no-wrap"
|
class="row q-ml-auto items-center justify-end no-wrap"
|
||||||
>
|
>
|
||||||
<KebabAction
|
<KebabAction
|
||||||
v-if="canAccess('agencies', 'edit')"
|
|
||||||
hide-toggle
|
hide-toggle
|
||||||
hide-view
|
hide-view
|
||||||
:id-name="props.row.id"
|
:id-name="props.row.id"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue