refactor: add hideToggle
This commit is contained in:
parent
831df21930
commit
b61d0aeb3e
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const props = withDefaults(
|
|||
defineProps<{
|
||||
idName: string;
|
||||
status: string;
|
||||
|
||||
hideToggle?: boolean;
|
||||
disableDelete?: boolean;
|
||||
}>(),
|
||||
{
|
||||
|
|
@ -114,7 +114,7 @@ watch(
|
|||
</span>
|
||||
</q-item>
|
||||
|
||||
<q-item dense>
|
||||
<q-item v-if="!hideToggle" dense>
|
||||
<q-item-section class="q-py-sm">
|
||||
<div class="q-pa-sm surface-2 rounded flex items-center">
|
||||
<ToggleButton
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue