Prevent deleting subflow if instance on locked tab

This commit is contained in:
Nick O'Leary
2022-11-01 11:42:40 +00:00
parent ce94226c3c
commit fe9c630572
2 changed files with 4 additions and 1 deletions

View File

@@ -616,7 +616,7 @@ RED.nodes = (function() {
var subflowId = n.type.substring(8);
var sf = RED.nodes.subflow(subflowId);
if (sf) {
sf.instances.push(sf);
sf.instances.push(newNode);
}
n["_"] = RED._;
}