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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user