diff --git a/Logic/Osm/Changes.ts b/Logic/Osm/Changes.ts index 17b93b9ae9..069eed259e 100644 --- a/Logic/Osm/Changes.ts +++ b/Logic/Osm/Changes.ts @@ -222,6 +222,11 @@ export class Changes { } console.log("Got the fresh objects!", osmObjects, "pending: ", pending) + if(pending.length == 0){ + console.log("No pending changes...") + return true; + } + const perType = Array.from( Utils.Hist(pending.filter(descr => descr.meta.changeType !== undefined && descr.meta.changeType !== null) .map(descr => descr.meta.changeType)), ([key, count]) => (