diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-08-17 03:49:11 +0300 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-08-17 03:49:11 +0300 |
commit | f7dee7152adde567571712f8bfe158135764ad7a (patch) | |
tree | 0966a7a0732185e391568a063b8e99dbb38a30d3 /apps/settings/src | |
parent | 4f0101837a5a52de3673b16b0d1e472c520ac26c (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.vue | 2 |
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()) } }, |