chore: removed filetree placeholder
mellbacon committed
May 20, 2023 at 13:42 UTC
0d50d2d65ebe0ff261b72ecabf24f75b729feb2e
1 file changed
+1
-18
src/lib/FileTree.svelte
+1
-18
@@ -28,24 +28,7 @@
28
<script lang="ts" context="module">
29
import { writable } from "svelte/store";
30
31
- export let filetree = writable([{
32
- id: 0, label: "FakeDir", path:"FakeDir/", children: [
33
- {id: 1, label: "src", path:"FakeDir/src", children: [
34
- {id: 2, label: "dist", path:"FakeDir/src/dist/", children: [
35
- {id: 3, label: "build.asm", path:"FakeDir/src/dist/buid.asm",},
36
- {id: 4, label: "model.py", path:"FakeDir/src/dist/model.py",},
37
- {id: 5, label: "something", path:"FakeDir/src/dist/something",},
38
- ]},
39
- {id: 6, label: "file1", path:"FakeDir/src/file1",},
40
- {id: 7, label: "file2", path:"FakeDir/src/file2",},
41
- ]},
42
- {id: 8, label: "Misc", path:"FakeDir/Misc/", children: [
43
- {id: 9, label: "misc1.txt", path:"FakeDir/Misc/misc1.txt",},
44
- {id: 10, label: "misc2.png", path:"FakeDir/Misc/misc2.png",},
45
- {id: 11, label: "misc3.nucleus", path:"FakeDir/Misc/misc3.nucleus",},
46
- ]},
47
- ],
48
- }]);
31
+ export let filetree = writable([]);
32
</script>
33
34
{#if $filetree.length === 0}