Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2021-08-17 03:49:11 +0300
committerChristopher Ng <chrng8@gmail.com>2021-08-17 03:49:11 +0300
commitf7dee7152adde567571712f8bfe158135764ad7a (patch)
tree0966a7a0732185e391568a063b8e99dbb38a30d3 /apps/settings/src
parent4f0101837a5a52de3673b16b0d1e472c520ac26c (diff)
Autofocus only additional email inputs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/PersonalInfo/EmailSection/Email.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue b/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
index 2c6d34b44f3..faca83821e2 100644
--- a/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
+++ b/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
@@ -150,7 +150,7 @@ export default {
},
mounted() {
- if (this.initialEmail === '') {
+ if (!this.primary && this.initialEmail === '') {
this.$nextTick(() => this.$refs.email?.focus())
}
},