mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
16 lines
491 B
Svelte
16 lines
491 B
Svelte
<script lang="ts">
|
|
import CollapsibleTree from '$lib/components/collapsible-tree/CollapsibleTree.svelte';
|
|
import FileListNode from '$lib/components/file-list/FileListNode.svelte';
|
|
|
|
import type { GPXFileWithStatistics } from '$lib/db';
|
|
import type { Readable } from 'svelte/store';
|
|
|
|
export let file: Readable<GPXFileWithStatistics | undefined>;
|
|
</script>
|
|
|
|
{#if $file}
|
|
<CollapsibleTree side="left">
|
|
<FileListNode node={$file.file} id={$file.file._data.id} />
|
|
</CollapsibleTree>
|
|
{/if}
|