diff options
author | Louis Chemineau <louis@chmn.me> | 2022-02-01 11:03:59 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-02-01 12:54:55 +0100 |
commit | 78481e2e7ca07b5db8926ba23b1747804b49bf58 (patch) | |
tree | ca71a8485ae7a14962d07bc1f786a18984507428 /apps | |
parent | 398297b449e0906e6dd251a694815ec98f08fd84 (diff) | |
download | nextcloud-server-78481e2e7ca07b5db8926ba23b1747804b49bf58.tar.gz nextcloud-server-78481e2e7ca07b5db8926ba23b1747804b49bf58.zip |
Add compiled files
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/src/components/GroupListItem.vue | 13 | ||||
-rw-r--r-- | apps/settings/src/store/users.js | 2 |
2 files changed, 6 insertions, 9 deletions
diff --git a/apps/settings/src/components/GroupListItem.vue b/apps/settings/src/components/GroupListItem.vue index f5c3726d5bf..173d3a45f5b 100644 --- a/apps/settings/src/components/GroupListItem.vue +++ b/apps/settings/src/components/GroupListItem.vue @@ -21,14 +21,13 @@ --> <template> - <AppNavigationItem - :key="id" + <AppNavigationItem :key="id" :exact="true" :title="title" :to="{ name: 'group', params: { selectedGroup: encodeURIComponent(id) } }" icon="icon-group" :loading="loadingRenameGroup" - :menuOpen="openGroupMenu" + :menu-open="openGroupMenu" @update:menuOpen="handleGroupMenuOpen"> <template #counter> <CounterBubble v-if="count"> @@ -36,8 +35,7 @@ </CounterBubble> </template> <template #actions> - <ActionInput - v-if="id !== 'admin' && id !== 'disabled' && settings.isAdmin" + <ActionInput v-if="id !== 'admin' && id !== 'disabled' && settings.isAdmin" ref="displayNameInput" icon="icon-edit" type="text" @@ -45,8 +43,7 @@ @submit="renameGroup(id)"> {{ t('settings', 'Rename group') }} </ActionInput> - <ActionButton - v-if="id !== 'admin' && id !== 'disabled' && settings.isAdmin" + <ActionButton v-if="id !== 'admin' && id !== 'disabled' && settings.isAdmin" icon="icon-delete" @click="removeGroup(id)"> {{ t('settings', 'Remove group') }} @@ -116,7 +113,7 @@ export default { this.loadingRenameGroup = true await this.$store.dispatch('renameGroup', { groupid: gid.trim(), - displayName: displayName.trim() + displayName: displayName.trim(), }) this.loadingRenameGroup = false diff --git a/apps/settings/src/store/users.js b/apps/settings/src/store/users.js index b38c282965c..77b02fb0682 100644 --- a/apps/settings/src/store/users.js +++ b/apps/settings/src/store/users.js @@ -356,7 +356,7 @@ const actions = { * @param {Object} context store context * @param {string} groupid Group id * @param {string} displayName Group display name - * @returns {Promise} + * @return {Promise} */ renameGroup(context, { groupid, displayName }) { return api.requireAdmin().then((response) => { |