Skip to content

Commit

Permalink
Merge pull request #72 from HE-Arc/dev
Browse files Browse the repository at this point in the history
Fixed tournament state bug
  • Loading branch information
JoFlucki authored May 2, 2024
2 parents 90310ab + a07332d commit a19f92d
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 a19f92d

Please sign in to comment.