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