diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-02-21 12:08:47 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-02-21 12:08:47 +0100 |
commit | 41f9274540e1a452ba4f8f999333e2221e9adf32 (patch) | |
tree | 9cc65663a1177cb52eb8b3c77eda494479470b7c /settings | |
parent | 4a5eaf3f6bc64061725709d9e291a9fd2dd11749 (diff) | |
download | nextcloud-server-41f9274540e1a452ba4f8f999333e2221e9adf32.tar.gz nextcloud-server-41f9274540e1a452ba4f8f999333e2221e9adf32.zip |
Fix group form reset after new user
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/src/components/userList.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/src/components/userList.vue b/settings/src/components/userList.vue index c51dce70e24..faf8aa0ce7a 100644 --- a/settings/src/components/userList.vue +++ b/settings/src/components/userList.vue @@ -189,7 +189,7 @@ export default { * In case the user directly loaded the user list within a group * the watch won't be triggered. We need to initialize it. */ - this.setNewUserDefaultGroup(this.$route.params.selectedGroup); + this.setNewUserDefaultGroup(this.selectedGroup); /** * Register search @@ -339,6 +339,8 @@ export default { resetForm() { // revert form to original state Object.assign(this.newUser, this.$options.data.call(this).newUser); + // reset group + this.setNewUserDefaultGroup(this.selectedGroup); this.loading.all = false; }, createUser() { |