mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Let conflict resolution restore deleted childnodes if force_local
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user