summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7ac9d22)
Support previously generated data.
`).join('')}
</ul>
<ul class=matches>
`).join('')}
</ul>
<ul class=matches>
- ${clan.matches.splice(0, 3).map(match => `
+ ${(clan.matches || []).splice(0, 3).map(match => `
<li data-members="${match.players}" class=${match.decision.toLowerCase()}>
${matchtime(new Date(match.date * 1000))} ${match.type}
</li>
<li data-members="${match.players}" class=${match.decision.toLowerCase()}>
${matchtime(new Date(match.date * 1000))} ${match.type}
</li>