Show 7zip contents on filesystem
This commit is contained in:
@@ -237,7 +237,10 @@ export const fs_node_type = (node: FSNode) => {
|
|||||||
return "dir"
|
return "dir"
|
||||||
} else if (node.file_type === "application/bittorrent" || node.file_type === "application/x-bittorrent") {
|
} else if (node.file_type === "application/bittorrent" || node.file_type === "application/x-bittorrent") {
|
||||||
return "torrent"
|
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"
|
return "zip"
|
||||||
} else if (node.file_type.startsWith("image")) {
|
} else if (node.file_type.startsWith("image")) {
|
||||||
return "image"
|
return "image"
|
||||||
|
@@ -17,7 +17,7 @@ export let hide_branding = false
|
|||||||
<td></td>
|
<td></td>
|
||||||
<td>Name</td>
|
<td>Name</td>
|
||||||
<td>Size</td>
|
<td>Size</td>
|
||||||
<td>Actions</td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
{#each $nav.children as child, index (child.path)}
|
{#each $nav.children as child, index (child.path)}
|
||||||
<a
|
<a
|
||||||
|
Reference in New Issue
Block a user