summaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-06-13 13:05:47 +0200
committerGitHub <noreply@github.com>2023-06-13 13:05:47 +0200
commit404eb86dbc42c8a0d9282b0aabffd06f8e5d987f (patch)
tree5cfb81d8f3a30513e50d79fedc4f2ffa7890553f /apps/settings
parentbb23b9187d5e4d9fec9d77b73d6deeb9d752dfaf (diff)
parentf2e58c6c11ec9da1d2beac15176b0af7d8b8cdcf (diff)
downloadnextcloud-server-404eb86dbc42c8a0d9282b0aabffd06f8e5d987f.tar.gz
nextcloud-server-404eb86dbc42c8a0d9282b0aabffd06f8e5d987f.zip
Merge pull request #38361 from nextcloud/backport/38344/stable27
[stable27] 38340 fix add group broken
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/src/views/Users.vue11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/settings/src/views/Users.vue b/apps/settings/src/views/Users.vue
index a4b2316f137..3dbb031232f 100644
--- a/apps/settings/src/views/Users.vue
+++ b/apps/settings/src/views/Users.vue
@@ -37,7 +37,7 @@
:loading="loadingAddGroup"
:title="t('settings', 'Add group')"
@click="showAddGroupForm"
- @update:title="createGroup">
+ @new-item="createGroup">
<template #icon>
<Plus :size="20" />
</template>
@@ -445,16 +445,15 @@ export default {
},
showAddGroupForm() {
- this.$refs.addGroup.editingActive = true
- this.$refs.addGroup.onMenuToggle(false)
+ this.$refs.addGroup.newItemActive = true
this.$nextTick(() => {
- this.$refs.addGroup.$refs.editingInput.focusInput()
+ this.$refs.addGroup.$refs.newItemInput.focusInput()
})
},
hideAddGroupForm() {
- this.$refs.addGroup.editingActive = false
- this.$refs.addGroup.editingValue = ''
+ this.$refs.addGroup.newItemActive = false
+ this.$refs.addGroup.newItemValue = ''
},
/**