Some robustness if no changes have to be made anymore
This commit is contained in:
parent
5c3665fd9d
commit
aee161d456
1 changed files with 5 additions and 0 deletions
|
@ -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]) => (
|
||||
|
|
Loading…
Reference in a new issue