Skip to content

Commit 608f6ef

Browse files
committed
fix(settings): use @update:modelValue so admin switches save again
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
1 parent c989c25 commit 608f6ef

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/views/GuestSettings.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@
3838
<NcCheckboxRadioSwitch
3939
v-model="config.allowExternalStorage"
4040
type="switch"
41-
@update:checked="saveConfig">
41+
@update:modelValue="saveConfig">
4242
{{ t('guests', 'Guest accounts can access mounted external storages') }}
4343
</NcCheckboxRadioSwitch>
4444

4545
<NcCheckboxRadioSwitch
4646
v-model="config.useHashedEmailAsUserID"
4747
type="switch"
48-
@update:checked="saveConfig">
48+
@update:modelValue="saveConfig">
4949
{{ t('guests', 'Use a hash of the email as user ID for improved privacy') }}
5050
</NcCheckboxRadioSwitch>
5151

5252
<NcCheckboxRadioSwitch
5353
v-model="config.hideUsers"
5454
type="switch"
55-
@update:checked="saveConfig">
55+
@update:modelValue="saveConfig">
5656
{{ t('guests', 'Hide other accounts from guests') }}
5757
</NcCheckboxRadioSwitch>
5858

@@ -64,7 +64,7 @@
6464
<NcCheckboxRadioSwitch
6565
:modelValue="config.createRestrictedToGroup.length > 0"
6666
type="switch"
67-
@update:checked="onGroupRestrictToggle">
67+
@update:modelValue="onGroupRestrictToggle">
6868
{{ t('guests', 'Limit guest account creation to the following groups only') }}
6969
</NcCheckboxRadioSwitch>
7070

@@ -80,7 +80,7 @@
8080
<NcCheckboxRadioSwitch
8181
v-model="config.useWhitelist"
8282
type="switch"
83-
@update:checked="saveConfig">
83+
@update:modelValue="saveConfig">
8484
{{ t('guests', 'Limit guest access to an app\'s allowlist') }}
8585
</NcCheckboxRadioSwitch>
8686

0 commit comments

Comments
 (0)