add contact-methods to a contact

This commit is contained in:
2025-01-04 20:34:05 -07:00
parent 6cf28776b7
commit 3c1731acdf
6 changed files with 132 additions and 13 deletions

View File

@@ -332,7 +332,7 @@ export default class App extends Vue {
truncateLongWords(sentence: string) {
return sentence
.split(" ")
.map(word => (word.length > 30 ? word.slice(0, 30) + "..." : word))
.map((word) => (word.length > 30 ? word.slice(0, 30) + "..." : word))
.join(" ");
}