1
0
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:
Nick O'Leary 2015-02-22 22:58:41 +00:00
parent 51421ce657
commit 5e2c51a741

View File

@ -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);