refactor: handle action edit

This commit is contained in:
Thanaphon Frappet 2024-12-02 10:38:22 +07:00
parent 936fd7ebdd
commit c8be545ef8
3 changed files with 5 additions and 1 deletions

View file

@ -11,6 +11,7 @@ const props = withDefaults(
hideToggle?: boolean;
useLink?: boolean;
useUpload?: boolean;
hideEdit?: boolean;
disableDelete?: boolean;
}>(),
@ -73,7 +74,7 @@ watch(
</q-item>
<q-item
v-if="status !== 'INACTIVE'"
v-if="status !== 'INACTIVE' && !hideEdit"
v-close-popup
dense
clickable