add contact-methods to a contact
This commit is contained in:
@@ -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(" ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user