From a33d495acd8e06abe48b6daa87f45ce12b2b9587 Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Fri, 6 Feb 2026 12:08:14 -0800 Subject: [PATCH] fix nonexistent filenames for song entry component --- src/lib/components/SongEntry.svelte | 133 +++++++++++++++------------- 1 file changed, 70 insertions(+), 63 deletions(-) diff --git a/src/lib/components/SongEntry.svelte b/src/lib/components/SongEntry.svelte index 8006fe6..1f32119 100644 --- a/src/lib/components/SongEntry.svelte +++ b/src/lib/components/SongEntry.svelte @@ -14,6 +14,7 @@ removeTrack, } from "$lib/player/player.svelte"; import { type SongType, trackFromSongRow } from "$lib/player/types"; + import { Button } from "./ui/button"; type SongEntryProps = { annSongId: number; @@ -69,15 +70,22 @@
- - - + {#if !fileName} + + {:else} + + + + {/if}
{animeName} @@ -92,65 +100,64 @@
-
- {#if isQueued} - Queued + {#if !track} + No audio file + {:else}
+ {#if isQueued} + Queued + + {/if} - {/if} - - + - - - {#if !track} - No audio file - {/if} -
+ +
+ {/if}