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

View File

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