diff --git a/src/components/sidebar/Sidebar.svelte b/src/components/sidebar/Sidebar.svelte index b0c9758..6501cb9 100644 --- a/src/components/sidebar/Sidebar.svelte +++ b/src/components/sidebar/Sidebar.svelte @@ -10,23 +10,31 @@ event.dataTransfer.effectAllowed = "move"; } }; + + const types = Array.from(new Set(nodes.map((node: any) => node.extras.type))); + console.log(types);