Autofocus only additional email inputs

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit f7dee7152a)
This commit is contained in:
Christopher Ng 2021-08-17 00:49:11 +00:00
parent f605e1dabf
commit 26d1ac1f1f

View file

@ -150,7 +150,7 @@ export default {
},
mounted() {
if (this.initialEmail === '') {
if (!this.primary && this.initialEmail === '') {
this.$nextTick(() => this.$refs.email?.focus())
}
},