mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Handle deleted tab when diffing flows
This commit is contained in:
parent
51421ce657
commit
5e2c51a741
@ -504,7 +504,7 @@ Flow.prototype.diffFlow = function(config) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.config.forEach(function(node) {
|
this.config.forEach(function(node) {
|
||||||
if (!configNodes[node.id]) {
|
if (!configNodes[node.id] && node.type != "tab") {
|
||||||
deletedNodes[node.id] = node;
|
deletedNodes[node.id] = node;
|
||||||
}
|
}
|
||||||
buildNodeLinks(activeLinks,node,flow.allNodes);
|
buildNodeLinks(activeLinks,node,flow.allNodes);
|
||||||
|
Loading…
Reference in New Issue
Block a user