fix: use ternary operator to resolve bug on winner list page
This commit is contained in:
parent
6bb7e926fa
commit
cf41ecb748
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "uwil/gen-game-web",
|
||||
"version": "3.1.4",
|
||||
"version": "3.1.5",
|
||||
"type": "project",
|
||||
"description": "Game generator",
|
||||
"support": {
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue