diff --git a/src/components/tracks/TracksOverview.svelte b/src/components/tracks/TracksOverview.svelte
index a5a5afc2..0566b9fb 100644
--- a/src/components/tracks/TracksOverview.svelte
+++ b/src/components/tracks/TracksOverview.svelte
@@ -9,6 +9,7 @@
import toast from "svelte-french-toast";
$: trackscache = [];
$: deleteTracks = [];
+ $: editTracks = [];
tracksstore.subscribe((val) => {
trackscache = val;
});
@@ -98,9 +99,13 @@
-
- {t.name}
-
+ {#if editTracks.includes(t.id)}
+
+ {:else}
+
+ {t.name}
+
+ {/if}
|
@@ -124,53 +129,71 @@
-
- {#if deleteTracks.includes(t.id)}
-
-
- {:else}
-
-
- {/if}
-
+ {#if deleteTracks.includes(t.id)}
+
+
+ {:else if editTracks.findIndex((tr)=>tr.id === t.id) !== -1}
+
+
+ {:else}
+
+
+ {/if}
|