diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-08-17 00:49:11 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-08-17 13:27:52 +0000 |
commit | 26d1ac1f1f3611cd721948b250a5e1cc6fc24c04 (patch) | |
tree | 023b0e0417df8f0a1ee34285df802e3716699e41 | |
parent | f605e1dabffbfb76b762b4a0c0d1c906cb563371 (diff) | |
download | nextcloud-server-26d1ac1f1f3611cd721948b250a5e1cc6fc24c04.tar.gz nextcloud-server-26d1ac1f1f3611cd721948b250a5e1cc6fc24c04.zip |
Autofocus only additional email inputs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit f7dee7152adde567571712f8bfe158135764ad7a)
-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()) } }, |