diff --git a/src/components/tracks/TracksOverview.svelte b/src/components/tracks/TracksOverview.svelte index 9d491309..bc7629ff 100644 --- a/src/components/tracks/TracksOverview.svelte +++ b/src/components/tracks/TracksOverview.svelte @@ -8,6 +8,7 @@ import { tracks as tracksstore } from "../../store.js"; import toast from "svelte-french-toast"; $: trackscache = []; + $: deleteTracks = []; tracksstore.subscribe((val) => { trackscache = val; }); @@ -71,6 +72,12 @@ > {$_("minimum-lap-time-in-s")} + + {$_("action")} + @@ -115,6 +122,47 @@ + +
+
+ {#if deleteTracks.includes(t.id)} + + + {:else} + + {/if} +
+
+ {/each}