@setoelkahfi / svara / commits / 9f28963

updated test data

mellbacon committed Aug 9, 2022 at 18:10 UTC 9f28963706654258ee6fb8ef5fb8e724d9253c21
1 file changed +5 -5
src/components/FileTree/TreeStore.ts
+5 -5
@@ -1,11 +1,11 @@
1 import { writable } from 'svelte/store';
2
3 let testtree = [
4 - {id: 0, text:"Empty", path:""},
5 - {id: 1, text:"Dir1", children: [
6 - {id: 2, text:"File1"},
7 - {id: 3, text:"File2.txt"},
8 - ]},
4 + {id: 0, name:"Empty", path:"testpath/"},
5 + {id: 1, name:"Dir1", children: [
6 + {id: 2, name:"File1", path: "/file1.path"},
7 + {id: 3, name:"File2.txt", path:"testpath/file2.txt"},
8 + ], path: "testpath/Dir1/"},
9 ];
10 export let filetree = writable(testtree);
11 export let workspacename = writable("Untitled Workspace");
\ No newline at end of file