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<{
|
defineProps<{
|
||||||
idName: string;
|
idName: string;
|
||||||
status: string;
|
status: string;
|
||||||
|
hideToggle?: boolean;
|
||||||
disableDelete?: boolean;
|
disableDelete?: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
|
|
@ -114,7 +114,7 @@ watch(
|
||||||
</span>
|
</span>
|
||||||
</q-item>
|
</q-item>
|
||||||
|
|
||||||
<q-item dense>
|
<q-item v-if="!hideToggle" dense>
|
||||||
<q-item-section class="q-py-sm">
|
<q-item-section class="q-py-sm">
|
||||||
<div class="q-pa-sm surface-2 rounded flex items-center">
|
<div class="q-pa-sm surface-2 rounded flex items-center">
|
||||||
<ToggleButton
|
<ToggleButton
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue