Skip to content

Commit 9757d53

Browse files
committed
Fix test
1 parent b3fbae5 commit 9757d53

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/components/Crews/ResultOverview.vue

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@
1515
@row-clicked="openTeamDialog"
1616
:tbody-tr-class="highLightWinner"
1717
>
18-
<template v-slot:cell(rank)="data">
19-
{{ data.item.times[data.item.times.length-1].rank }}
20-
</template>
21-
<template v-slot:cell(smallRank)="data">
22-
{{ data.item.times[data.item.times.length-1].rank }}
23-
</template>
18+
<template v-slot:cell(rank)="data">{{ data.item.times[data.item.times.length-1].rank }}</template>
19+
<template v-slot:cell(smallRank)="data">{{ data.item.times[data.item.times.length-1].rank }}</template>
2420
<template v-slot:head(OarImage)>
2521
<div class="d-none d-sm-block">
2622
Blad

tests/unit/Crews/ResultOverview.spec.js

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ describe('ResultOverview', () => {
176176
},
177177
{
178178
totaltime: 1231,
179+
rank: 1,
179180
splash1: 0,
180181
splash2: 0,
181182
splash3: 0,

0 commit comments

Comments
 (0)