Work on showing results on user dashboard

Addresses #68
This commit is contained in:
Matt Young 2024-10-31 12:00:49 -05:00
parent dc6fec399c
commit f8d778dbcc
1 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@
@if(! $entry->audition->hasFlag('seats_published')) @if(! $entry->audition->hasFlag('seats_published'))
<x-table.td colspan="3">Results not available</x-table.td> <x-table.td colspan="3">Results not available</x-table.td>
@else @else
<x-table.td> {{ $scores[$entry->id ][0] }}</x-table.td> <x-table.td> {{ $scores[$entry->id ][0] ?? '--' }}</x-table.td>
<x-table.td> {{ $ranks[$entry->id ] }}</x-table.td> <x-table.td> {{ $ranks[$entry->id ] ?? '--' }}</x-table.td>
<x-table.td> {{ $results[$entry->id ] }}</x-table.td> <x-table.td> {{ $results[$entry->id ] ?? '--' }}</x-table.td>
@endif @endif
</tr> </tr>
@endforeach @endforeach