summaryrefslogtreecommitdiffstats
path: root/settings/src/views/Users.vue
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/views/Users.vue')
-rw-r--r--settings/src/views/Users.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/src/views/Users.vue b/settings/src/views/Users.vue
index a1116749117..5963881b9b9 100644
--- a/settings/src/views/Users.vue
+++ b/settings/src/views/Users.vue
@@ -425,6 +425,10 @@ export default {
} else {
Vue.set(addGroup, 'action', function() {
self.showAddGroupEntry = true
+ // focus input
+ Vue.nextTick(() => {
+ window.addgroup.querySelector('form > input[type="text"]').focus()
+ })
})
}
groups.unshift(addGroup);