Skip to content

Commit

Permalink
Fixed tournament state bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JoFlucki committed May 2, 2024
1 parent f47ad2d commit a07332d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/views/ManageTournamentsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ onMounted(async () => {
</div>
<div>

<span v-if="tournament.playerIds && tournament.playerIds.length >= 2"
<span
v-if="tournament.status.id == TournamentStatus.Closed.id || tournament.playerIds && tournament.playerIds.length >= 2"
@click="nextTournamentStatus(tournament)" class="material-symbols-outlined"
:class="{ 'disabled': tournament.status.id == TournamentStatus.Completed.id || tournament.loading }"
title="Cliquez pour passer au prochain statut">next_plan</span>
Expand Down

0 comments on commit a07332d

Please sign in to comment.