forked from MapComplete/MapComplete
Fix: reinstantiate uploads
This commit is contained in:
parent
6b6b1e3286
commit
871d511616
1 changed files with 0 additions and 11 deletions
|
@ -517,17 +517,6 @@ export class Changes {
|
|||
...motivations,
|
||||
...perBinMessage,
|
||||
]
|
||||
{
|
||||
const changes: {
|
||||
newObjects: OsmObject[]
|
||||
modifiedObjects: OsmObject[]
|
||||
deletedObjects: OsmObject[]
|
||||
} = self.CreateChangesetObjects(pending, objects);
|
||||
if(changes.newObjects.length + changes.modifiedObjects.length + changes.deletedObjects.length === 0){
|
||||
console.log("Not opening/uploading a changeset; seems like all changes are already applied")
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
await this._changesetHandler.UploadChangeset(
|
||||
(csId, remappings) => {
|
||||
|
|
Loading…
Reference in a new issue