Split filesystem up in components

Also thumbnails work now
This commit is contained in:
2023-05-17 15:34:56 +02:00
parent c4cd2e1ee5
commit 277637511c
18 changed files with 711 additions and 595 deletions

View File

@@ -1,6 +1,5 @@
<script>
import { fs_get_file_url } from "../FilesystemAPI.js";
import { fs_file_url } from "../FilesystemUtil.js";
export let state
let container
@@ -51,7 +50,7 @@ const mouseup = (e) => {
on:doubletap={() => {zoom = !zoom}}
on:mousedown={mousedown}
class="image" class:zoom
src={fs_get_file_url(state.root.id, state.base.path)}
src={fs_file_url(state.root.id, state.base.path)}
alt="no description available" />
</div>