diff --git a/src/components/tracks/TracksOverview.svelte b/src/components/tracks/TracksOverview.svelte
index 0cfd6fad..67a25e0c 100644
--- a/src/components/tracks/TracksOverview.svelte
+++ b/src/components/tracks/TracksOverview.svelte
@@ -122,18 +122,46 @@
+ {#if editTracks.findIndex((tr) => tr.id === t.id) !== -1}
+ {
+ const i = editTracks.findIndex(
+ (tr) => tr.id === t.id
+ );
+ editTracks[i].distance = parseInt(e.target.value);
+ }}
+ />
+ {:else}
{t.distance}
+ {/if}
|
+ {#if editTracks.findIndex((tr) => tr.id === t.id) !== -1}
+ {
+ const i = editTracks.findIndex(
+ (tr) => tr.id === t.id
+ );
+ editTracks[i].minimumLapTime = parseInt(e.target.value);
+ }}
+ />
+ {:else}
{t.minimumLapTime}
+ {/if}
|