@@ -399,8 +435,27 @@ const Properties: FC
= ({
-
- {selectedNode?.data?.type === 'http-request'
+ {selectedNode?.data?.type === 'unknown'
+ ? <>
+
+
+
+ >
+ : selectedNode?.data?.type === 'http-request'
? {
const { id, type, name, position, config = {} } = node
- let nodeLibraryConfig = [...nodeLibrary]
+ let nodeLibraryConfig = [...nodeLibrary, { nodes: [unknownNode] }]
.flatMap(category => category.nodes)
.find(n => n.type === type)
nodeLibraryConfig = JSON.parse(JSON.stringify({ config: {}, ...nodeLibraryConfig })) as NodeProperties