diff --git a/frontend/src/lib/components/FilesTab.svelte b/frontend/src/lib/components/FilesTab.svelte index 7fcb98e..6baaf7e 100644 --- a/frontend/src/lib/components/FilesTab.svelte +++ b/frontend/src/lib/components/FilesTab.svelte @@ -56,6 +56,8 @@ const dirCount = $derived(entries.filter((e) => e.type === 'directory').length); const fileCount = $derived(entries.filter((e) => e.type !== 'directory').length); + const canGoUp = $derived(currentPath !== '/' && currentPath.startsWith('/')); + async function navigateTo(path: string) { currentPath = normalizePath(path); pathInput = currentPath; @@ -343,7 +345,22 @@ -
+
+ + + {#each breadcrumbs() as crumb, i} {#if i > 0} @@ -399,19 +416,6 @@ Nothing here yet
{:else} - - {#if currentPath !== '/'} - - {/if} - {#each sortedEntries as entry, idx (entry.path)}