summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/Settings/SettingsAddressbookShare.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/Settings/SettingsAddressbookShare.vue b/src/components/Settings/SettingsAddressbookShare.vue
index 8559b872..5faec2bb 100644
--- a/src/components/Settings/SettingsAddressbookShare.vue
+++ b/src/components/Settings/SettingsAddressbookShare.vue
@@ -97,6 +97,10 @@ export default {
return t('contacts', 'No users or groups')
}
},
+ mounted() {
+ // This ensures that the multiselect input is in focus as soon as the user clicks share
+ document.getElementById('users-groups-search').focus()
+ },
methods: {
/**
* Share addressbook
@@ -166,8 +170,8 @@ export default {
}
}).then(() => {
this.isLoading = false
+ this.inputGiven = true
})
- this.inputGiven = true
} else {
this.inputGiven = false
this.isLoading = false