This commit is contained in:
vcoppe committed 2026-10-17 16:14:17 +02:00
1 parent ed90ba6a1f
commit b2495d1466
6 files changed
+186 -16

No files matched your search

@@ -61,7 +61,6 @@
{:else}
{@const id = fileIdAt($workspace, entry.path)}
{@const selected = id !== undefined && selectedFileIds($selection).includes(id)}
{@const dirty = id !== undefined && $workspace?.files[id]?.dirty === true}
<Button
variant="ghost"
class="w-full h-7 px-1 justify-start gap-1.5 border-none font-normal {selected
@@ -72,9 +71,6 @@
>
<FileText size="16" class="shrink-0" />
<span class="grow truncate text-left">{entry.name}</span>
{#if dirty}
<span class="size-1.5 shrink-0 rounded-full bg-foreground"></span>
{/if}
</Button>
{/if}
{/each}