feat: show org names for teams_distance slide
This commit is contained in:
parent
c286969a9d
commit
c6f7210196
@ -1,12 +1,9 @@
|
||||
<script>
|
||||
import axios from "axios";
|
||||
import bg from "/beamershow_background.png?import";
|
||||
import bg from "/beamershow_background.png?inline";
|
||||
import { _ } from "svelte-i18n";
|
||||
import { slide } from "svelte/transition";
|
||||
import { apikey, api_endpoint, laptime_track } from "./store.js";
|
||||
function init(el) {
|
||||
el.focus();
|
||||
}
|
||||
$: pages = [
|
||||
"general",
|
||||
"runners_distance",
|
||||
@ -313,6 +310,11 @@
|
||||
>
|
||||
{$_("top-organisationen")}
|
||||
</h1>
|
||||
{#if orgs.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"
|
||||
>
|
||||
@ -351,6 +353,7 @@
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
||||
{:else if current_page === "teams_distance"}
|
||||
<div transition:slide|local>
|
||||
@ -388,6 +391,7 @@
|
||||
{i + 1}
|
||||
</td>
|
||||
<td class="border p-4 dark:border-dark-5">
|
||||
{t.parent.name}<br />
|
||||
{t.name}
|
||||
</td>
|
||||
<td class="border p-4 dark:border-dark-5">
|
||||
|
Loading…
x
Reference in New Issue
Block a user