fix: disable toggle button when in readonly mode in ProfileBanner component
This commit is contained in:
parent
58231aa936
commit
aaa448fa0c
1 changed files with 1 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ const smallBanner = ref(false);
|
||||||
|
|
||||||
<ToggleButton
|
<ToggleButton
|
||||||
v-if="useToggle"
|
v-if="useToggle"
|
||||||
|
:disable="readonly"
|
||||||
two-way
|
two-way
|
||||||
:model-value="toggleStatus !== 'INACTIVE'"
|
:model-value="toggleStatus !== 'INACTIVE'"
|
||||||
@click="$emit('update:toggleStatus', toggleStatus)"
|
@click="$emit('update:toggleStatus', toggleStatus)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue