Nasconde dall'hub le partite con risultato già inserito.

Restano avviabili solo le gare in ritardo senza punteggio, non quelle già terminate dal portale.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-06 10:13:10 +02:00
co-authored by Cursor
parent 24c6ce4da0
commit ce81bb5789
5 changed files with 51 additions and 4 deletions
@@ -100,7 +100,7 @@ module Public
def tournament_public_board_state(match)
return :live if tournament_public_live_session(match)
return :replay if tournament_public_recording(match)
return :ended if match.played? || match.result_status.to_s.start_with?("walkover") || match.home_score.present?
return :ended if match.result_recorded?
return :scheduled if match.scheduled_upcoming?
:waiting
@@ -129,7 +129,7 @@ module Public
end
def tournament_match_sides_locked?(match)
match.played? || match.result_status.to_s.start_with?("walkover")
match.result_recorded?
end
def tournament_phase_label(match)