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 d701b5b commit 0285e1cCopy full SHA for 0285e1c
apps/settings/src/components/Users/NewUserDialog.vue
@@ -87,7 +87,7 @@
87
:input-label="t('settings', 'Admin of the following groups')"
88
:placeholder="t('settings', 'Set account as admin for …')"
89
:disabled="loading.groups || loading.all"
90
- :options="availableGroups"
+ :options="availableSubAdminGroups"
91
:close-on-select="false"
92
:multiple="true"
93
label="name"
@@ -218,6 +218,10 @@ export default {
218
return groups.filter(group => group.id !== '__nc_internal_recent' && group.id !== 'disabled')
219
},
220
221
+ availableSubAdminGroups() {
222
+ return this.availableGroups.filter((group) => group.id !== 'admin')
223
+ },
224
+
225
languages() {
226
return [
227
{
0 commit comments