Skip to content

Commit

Permalink
Disable scoreboard refresh for static scoreboard after contest has be…
Browse files Browse the repository at this point in the history
…en unfrozen.
  • Loading branch information
meisterT committed Jun 10, 2023
1 parent d16e4ac commit 74aa70e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/src/Service/ScoreboardService.php
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,9 @@ public function getScoreboardTwigData(
],
'static' => $static,
];
if ($static && $contest && $contest->getFreezeData()->showFinal()) {
$data['refresh']['after'] = null;
}

if ($contest) {
if ($request && $response) {
Expand Down

0 comments on commit 74aa70e

Please sign in to comment.