From fbcb84ed272c7c5a3eba8a01231f2063f2f4f351 Mon Sep 17 00:00:00 2001 From: Curtis Werstuik Date: Sat, 23 Sep 2023 18:16:37 -0700 Subject: Update selectInput to select on "Name" Signed-off-by: Curtis Werstuik --- src/components/ContactDetails.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index 35e17ed8..1c39e260 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -752,10 +752,10 @@ export default { }, /** - * Select the text in the input if it is still set to 'new Contact' + * Select the text in the input if it is still set to 'Name' */ selectInput() { - if (this.$refs.fullname && this.$refs.fullname.value === t('contacts', 'New contact')) { + if (this.$refs.fullname && this.$refs.fullname.value === t('contacts', 'Name')) { this.$refs.fullname.select() } }, -- cgit v1.2.3