@axium/storage 0.7.8 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/List.svelte +1 -2
- package/package.json +1 -1
package/lib/List.svelte
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { goto } from '$app/navigation';
|
|
3
2
|
import { FormDialog, Icon } from '@axium/client/components';
|
|
4
3
|
import { formatBytes } from '@axium/core/format';
|
|
5
4
|
import { forMime as iconForMime } from '@axium/core/icons';
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
onclick={async () => {
|
|
54
53
|
if (item.type != 'inode/directory') {
|
|
55
54
|
// @todo get preview
|
|
56
|
-
} else if (appMode)
|
|
55
|
+
} else if (appMode) location.href = '/files/' + item.id;
|
|
57
56
|
else items = await getDirectoryMetadata(item.id);
|
|
58
57
|
}}
|
|
59
58
|
>
|