We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c38e604 commit 2feef0fCopy full SHA for 2feef0f
apps/settings/src/components/Users/NewUserDialog.vue
@@ -96,7 +96,7 @@
96
:input-label="t('settings', 'Admin of the following groups')"
97
:placeholder="t('settings', 'Set account as admin for …')"
98
:disabled="loading.groups || loading.all"
99
- :options="availableGroups"
+ :options="availableSubAdminGroups"
100
keep-open
101
:multiple="true"
102
label="name"
@@ -231,6 +231,10 @@ export default {
231
return groups.filter((group) => group.id !== '__nc_internal_recent' && group.id !== 'disabled')
232
},
233
234
+ availableSubAdminGroups() {
235
+ return this.availableGroups.filter(group => group.id !== 'admin')
236
+ },
237
+
238
languages() {
239
return [
240
{
0 commit comments