Let conflict resolution restore deleted childnodes if force_local

This commit is contained in:
Bryan Housel
2015-06-18 11:48:49 -04:00
parent ee6479ff48
commit ca47d2662d
+1 -1
View File
@@ -95,7 +95,7 @@ iD.actions.MergeRemoteChanges = function(id, localGraph, remoteGraph, formatUser
} else if (option === 'force_local' && local) {
target = iD.Entity(local);
if (remote && remote.visible) {
if (remote) {
target = target.update({ version: remote.version });
}
updates.replacements.push(target);