refactor: header status INACTIVE can't edit

This commit is contained in:
Net 2024-08-23 11:45:52 +07:00
parent b6586f1b39
commit f5cf3aec57

View file

@ -3616,6 +3616,8 @@ watch(
</div> </div>
</div> </div>
</DialogForm> </DialogForm>
<!-- edit group, edit type -->
<DrawerInfo <DrawerInfo
ref="formDialogRef" ref="formDialogRef"
v-model:drawerOpen="drawerInfo" v-model:drawerOpen="drawerInfo"
@ -3719,7 +3721,10 @@ watch(
style="position: absolute; z-index: 99999; top: 0; right: 0" style="position: absolute; z-index: 99999; top: 0; right: 0"
v-if="actionDisplay" v-if="actionDisplay"
> >
<div class="surface-1 row rounded"> <div
class="surface-1 row rounded"
v-if="currentStatusGroupType !== 'INACTIVE'"
>
<UndoButton <UndoButton
v-if="isEdit" v-if="isEdit"
icon-only icon-only