show only 20 first charact

Teamcard
Aurian JAULT 2 years ago
parent 5f9c2fb1f6
commit 52be120b85

@ -8,7 +8,7 @@ export default{
},
template: `
<div id="teamCard">
<span>{{id}} {{nom}} description: {{description}}</span>
<span>{{id}} {{nom}} description: {{description.slice(0,20)}}</span>
</div>
`
}

Loading…
Cancel
Save