Skip to content

Commit

Permalink
Update src/components/ContactsList/ContactsListItem.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Hamza <[email protected]>
Signed-off-by: Grigory Vodyanov <[email protected]>
  • Loading branch information
GVodyanov and hamza221 authored Jul 19, 2024
1 parent d3306b5 commit 4329877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ContactsList/ContactsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default {
return window.btoa(this.source.key).slice(0, -2)
},
getTel() {
return this.source.properties.find(property => property.name === 'tel').getFirstValue()
return this.source.properties.find(property => property.name === 'tel')?.getFirstValue()
},
},
Expand Down

0 comments on commit 4329877

Please sign in to comment.