show only 20 first charact

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

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

Loading…
Cancel
Save