Skip to content

Commit

Permalink
Merge pull request #3666 from nextcloud/backport/3635/stable5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny authored Oct 18, 2023
2 parents 1bbbc98 + fbcb84e commit 9dc3e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ContactDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
},
Expand Down

0 comments on commit 9dc3e5d

Please sign in to comment.