mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add add/update/delete flow apis
This commit is contained in:
@@ -47,7 +47,7 @@ function Flow(global,flow) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (diff) {
|
||||
if (diff && diff.rewired) {
|
||||
for (var j=0;j<diff.rewired.length;j++) {
|
||||
var rewireNode = activeNodes[diff.rewired[j]];
|
||||
if (rewireNode) {
|
||||
@@ -262,7 +262,6 @@ function mapEnvVarProperties(obj,prop) {
|
||||
}
|
||||
|
||||
function createNode(type,config) {
|
||||
// console.log("CREATE",type,config.id);
|
||||
var nn = null;
|
||||
var nt = typeRegistry.get(type);
|
||||
if (nt) {
|
||||
|
Reference in New Issue
Block a user