add empty state for runners_laptime
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
431fc5a047
commit
8139a3f60b
|
@ -241,6 +241,9 @@
|
||||||
>
|
>
|
||||||
{$_("top-laeufer")} ({$_("rundenzeit")})
|
{$_("top-laeufer")} ({$_("rundenzeit")})
|
||||||
</h1>
|
</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">
|
<table class="table p-4 bg-white shadow rounded-lg w-full">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -286,6 +289,7 @@
|
||||||
{/each}
|
{/each}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:else if current_page === "orgs_distance"}
|
{:else if current_page === "orgs_distance"}
|
||||||
<div transition:slide|local>
|
<div transition:slide|local>
|
||||||
|
|
Loading…
Reference in New Issue