1 more empty state

This commit is contained in:
Philipp Dormann 2023-04-15 20:53:54 +02:00
parent 70a6120447
commit f909575ca5
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with 52 additions and 46 deletions

View File

@ -188,6 +188,11 @@
>
{$_("top-laeufer")} ({$_("distanz")})
</h1>
{#if runners_by_laptime.length === 0}
<p class="w-full text-center text-3xl font-semibold">
Noch keine Daten...
</p>
{:else}
<table
class="table font-semibold p-4 bg-white shadow rounded-lg w-full"
>
@ -235,6 +240,7 @@
{/each}
</tbody>
</table>
{/if}
</div>
{:else if current_page === "runners_laptime"}
<div transition:slide|local>