Skip to content

Commit 9ed119a

Browse files
committed
[feature] Hide drop down icon, if no yellow card times available
1 parent 137e073 commit 9ed119a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/team/TeamYellowCards.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
</span>
2222

2323
<a class="btn-edit"
24-
v-if="!showAllCards"
24+
v-if="yellowCardTimes.length > 0 && !showAllCards"
2525
@click="showAllCards=!showAllCards">
2626
<font-awesome-icon icon="caret-square-down"/>
2727
</a>
2828
<a class="btn-edit"
29-
v-if="showAllCards"
29+
v-if="yellowCardTimes.length > 0 && showAllCards"
3030
@click="showAllCards=!showAllCards">
3131
<font-awesome-icon icon="caret-square-up"/>
3232
</a>

0 commit comments

Comments
 (0)