We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf958b commit db318fbCopy full SHA for db318fb
webapp/src/Controller/Jury/ContestController.php
@@ -379,7 +379,7 @@ public function indexAction(Request $request): Response
379
'upcoming_contest' => $upcomingContest,
380
'contests_table' => $contests_table,
381
'table_fields' => $table_fields,
382
- 'num_actions' => $this->isGranted('ROLE_ADMIN') ? 2 : 0,
+ 'num_actions' => $this->isGranted('ROLE_ADMIN') && !$contest->isLocked() ? 2 : 0,
383
]);
384
}
385
0 commit comments