fixed up invalid node issue

This commit is contained in:
ari committed 2022-08-06 15:29:41 -04:00
1 parent baa31ab649
commit b479476833
2 files changed
+52 -1

No files matched your search

@@ -29,7 +29,7 @@ export const useDAGElementsState = () => {
},
getIsClosedActions(nodeId: string, node: AutomationNode) {
if (isSpecialNode(getNodeSubType(node))) {
if (isSpecialNode(getNodeSubType(node, true))) {
return {
isClosed: this.get(nodeId).isClosed ?? false,
setIsClosed: (v: boolean) => this.set(nodeId, "isClosed", v),