Merge branch 'issue-287' into 'master'

fix: use ternary operator to resolve bug on winner list page

See merge request ldc-web/projets/gen-game-web!58
This commit is contained in:
noah.lancien 2025-09-09 14:50:53 +00:00
commit 2b936e308e
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "uwil/gen-game-web",
"version": "3.1.4",
"version": "3.1.5",
"type": "project",
"description": "Game generator",
"support": {

View file

@ -48,7 +48,7 @@
@endif
@if ($settingsGlobal->code_type->equals($codeTypeEnum::unique) || $settingsGlobal->code_type->equals($codeTypeEnum::both))
<td class="text-center align-middle">
<span>{{ \App\Models\Code::intToSerial($participationModel->code_unique_id)}}</span>
<span>{{ is_null($participationModel->code_unique_id) ? 'Aucun' : \App\Models\Code::intToSerial($participationModel->code_unique_id) }}</span>
</td>
@endif
<td class="text-center align-middle">