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
1 changed files with 1 additions and 1 deletions

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