@setoelkahfi / svara / commits / 6a785aa

yes

mellobacon committed Nov 27, 2022 at 18:53 UTC 6a785aa1179b8db14123249e4a59a62e5f9cfffd
1 file changed +3
src/components/FileTree/TreeView.svelte
+3
@@ -46,6 +46,8 @@
46
47 export let dblclick = false;
48
49 + export let isFileTree = false;
50 +
51 /**
52 * Programmatically expand all nodes
53 * @type {() => void}
@@ -79,6 +81,7 @@
81 activeNodeId,
82 selectedNodeIds,
83 expandedNodeIds,
84 + isFileTree,
85 clickNode: (node) => {
86 activeId = node.id;
87 selectedIds = [node.id];