mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(settings): Fix duplicated group options when editing account
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
82f0957563
commit
d32b76b9d4
1 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@
|
|||
:value="userGroups"
|
||||
label="name"
|
||||
:no-wrap="true"
|
||||
:create-option="(value) => ({ name: value, isCreating: true })"
|
||||
:create-option="(value) => ({ id: value, name: value, isCreating: true })"
|
||||
@search="searchGroups"
|
||||
@option:created="createGroup"
|
||||
@option:selected="options => addUserGroup(options.at(-1))"
|
||||
|
|
@ -776,7 +776,7 @@ export default {
|
|||
const userid = this.user.id
|
||||
const gid = group.id
|
||||
if (group.canAdd === false) {
|
||||
return false
|
||||
return
|
||||
}
|
||||
this.loading.groups = true
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue