diff --git a/svelte/src/filesystem/FilesystemAPI.ts b/svelte/src/filesystem/FilesystemAPI.ts index 7b23053..e489ffd 100644 --- a/svelte/src/filesystem/FilesystemAPI.ts +++ b/svelte/src/filesystem/FilesystemAPI.ts @@ -237,7 +237,10 @@ export const fs_node_type = (node: FSNode) => { return "dir" } else if (node.file_type === "application/bittorrent" || node.file_type === "application/x-bittorrent") { return "torrent" - } else if (node.file_type === "application/zip") { + } else if ( + node.file_type === "application/zip" || + node.file_type === "application/x-7z-compressed" + ) { return "zip" } else if (node.file_type.startsWith("image")) { return "image" diff --git a/svelte/src/filesystem/filemanager/ListView.svelte b/svelte/src/filesystem/filemanager/ListView.svelte index 28843e6..1355f6c 100644 --- a/svelte/src/filesystem/filemanager/ListView.svelte +++ b/svelte/src/filesystem/filemanager/ListView.svelte @@ -17,7 +17,7 @@ export let hide_branding = false Name Size - Actions + {#each $nav.children as child, index (child.path)}