Skip to content

Commit

Permalink
fix: Uncheck group limit settings
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody authored and backportbot[bot] committed Jun 14, 2024
1 parent 8fd7889 commit af3f07b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/AdminSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
:disabled="updating"
@input="updateOoxml" />

<SettingsCheckbox :value="settings.use_groups !== null"
<SettingsCheckbox :value="settings.use_groups?.length > 0"
:label="t('richdocuments', 'Restrict usage to specific groups')"
:hint="t('richdocuments', '{productName} is enabled for all users by default. When this setting is active, only members of the specified groups can use it.', { productName })"
:disabled="updating"
Expand All @@ -255,7 +255,7 @@
@input="updateUseGroups" />
</SettingsCheckbox>

<SettingsCheckbox :value="settings.edit_groups !== null"
<SettingsCheckbox :value="settings.edit_groups?.length > 0"
:label="t('richdocuments', 'Restrict edit to specific groups')"
:hint="t('richdocuments', 'All users can edit documents with {productName} by default. When this setting is active, only the members of the specified groups can edit, whereas the others can only view documents.', { productName })"
:disabled="updating"
Expand Down

0 comments on commit af3f07b

Please sign in to comment.