summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-21 12:02:49 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-21 12:02:49 +0100
commit4a5eaf3f6bc64061725709d9e291a9fd2dd11749 (patch)
tree4ee077576ab1279d7a6b0e73b883056c3ac1598c /settings/src
parent6be9fdaa48fe4406049b4b713fba2997e48540be (diff)
downloadnextcloud-server-4a5eaf3f6bc64061725709d9e291a9fd2dd11749.tar.gz
nextcloud-server-4a5eaf3f6bc64061725709d9e291a9fd2dd11749.zip
Automatically select newly created group
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/views/Users.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/src/views/Users.vue b/settings/src/views/Users.vue
index 49d37faa4ae..438dd3d13da 100644
--- a/settings/src/views/Users.vue
+++ b/settings/src/views/Users.vue
@@ -227,6 +227,12 @@ export default {
.then(() => {
this.showAddGroupEntry = false;
this.loadingAddGroup = false;
+ this.$router.push({
+ name: 'group',
+ params: {
+ selectedGroup: gid
+ }
+ })
})
.catch(() => {
this.loadingAddGroup = false;