Skip to content

Commit bdafa0b

Browse files
committed
fixed Vue issue
1 parent c903abe commit bdafa0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/TeamStatus.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818
{{team.maxAllowedBots}}
1919
</span>
2020
<div class="cardTimers">
21-
<CardTimer v-for="cardTime in team.yellowCardTimes.slice(0,3)"
21+
<span v-for="(cardTime, index) in team.yellowCardTimes.slice(0,3)" :key="index">
22+
<CardTimer
2223
:cardTimer="cardTime" />
24+
</span>
25+
2326

2427
<div class="additional-cards" v-if="team.yellowCardTimes.length > 3"> + {{ team.yellowCardTimes.length - 3}} more </div>
2528
</div>

0 commit comments

Comments
 (0)