refactor: Add button display conditions
This commit is contained in:
parent
139ec95b2c
commit
ce1fea1b53
1 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ defineEmits<{
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="action"
|
v-if="action && !node.actionDisabled"
|
||||||
icon="mdi-dots-vertical"
|
icon="mdi-dots-vertical"
|
||||||
:id="`btn-tree-dots-${node.name}`"
|
:id="`btn-tree-dots-${node.name}`"
|
||||||
size="sm"
|
size="sm"
|
||||||
|
|
@ -157,6 +157,7 @@ defineEmits<{
|
||||||
</q-item>
|
</q-item>
|
||||||
|
|
||||||
<q-item
|
<q-item
|
||||||
|
v-if="node.status !== 'INACTIVE'"
|
||||||
:id="`view-detail-btn-${node.name}-edit`"
|
:id="`view-detail-btn-${node.name}-edit`"
|
||||||
v-close-popup
|
v-close-popup
|
||||||
clickable
|
clickable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue