add empty state for runners_laptime
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Philipp Dormann 2023-04-15 20:37:26 +02:00
parent 431fc5a047
commit 8139a3f60b
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with 48 additions and 44 deletions

View File

@ -241,6 +241,9 @@
>
{$_("top-laeufer")} ({$_("rundenzeit")})
</h1>
{#if runners_by_laptime.length === 0}
<p class="w-full text-center text-3xl">Noch keine Daten...</p>
{:else}
<table class="table p-4 bg-white shadow rounded-lg w-full">
<thead>
<tr>
@ -286,6 +289,7 @@
{/each}
</tbody>
</table>
{/if}
</div>
{:else if current_page === "orgs_distance"}
<div transition:slide|local>