summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Werstuik <geekatron101@gmail.com>2023-09-23 18:16:37 -0700
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-10-17 12:53:38 +0000
commitfbcb84ed272c7c5a3eba8a01231f2063f2f4f351 (patch)
tree35cf3f557badab8ab61b6966bc5f6fb5e4022c43
parent3040b81197beb09c62c6b59ddee40305f410e8a5 (diff)
Update selectInput to select on "Name"
Signed-off-by: Curtis Werstuik <geekatron101@gmail.com>
-rw-r--r--src/components/ContactDetails.vue4
1 files 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()
}
},