forked from MapComplete/MapComplete
Fix GRB upload issue
This commit is contained in:
parent
9fa3992e05
commit
1ba2139bc6
2 changed files with 1 additions and 2 deletions
|
@ -136,7 +136,6 @@ export class ChangeDescriptionTools {
|
|||
mappings: Map<string, string>
|
||||
): ChangeDescription {
|
||||
const key = change.type + "/" + change.id
|
||||
console.log("Checking remapping ", change.id, mappings, change)
|
||||
const wayHasChangedNode = ((change.changes ?? {})["nodes"] ?? []).some((id) =>
|
||||
mappings.has("node/" + id)
|
||||
)
|
||||
|
|
|
@ -570,7 +570,7 @@ export class Changes {
|
|||
|
||||
// All ids which have an 'update'
|
||||
const createdIds =
|
||||
new Set(pending.filter(cd => cd.type === "node" && cd.changes !== undefined).map(cd => cd.id))
|
||||
new Set(pending.filter(cd => cd.changes !== undefined).map(cd => cd.id))
|
||||
pending.forEach(c => {
|
||||
if (c.id < 0) {
|
||||
if (createdIds.has(c.id)) {
|
||||
|
|
Loading…
Reference in a new issue