forked from MapComplete/MapComplete
Small optimazations
This commit is contained in:
parent
cc22c5b0fb
commit
5cc963513a
4 changed files with 7 additions and 3 deletions
|
@ -265,7 +265,7 @@ export class Changes {
|
|||
console.log("No changes to be made")
|
||||
this.pendingChanges.setData([])
|
||||
this.isUploading.setData(false)
|
||||
return;
|
||||
return true; // Unregister the callback
|
||||
}
|
||||
|
||||
|
||||
|
@ -280,6 +280,7 @@ export class Changes {
|
|||
},
|
||||
() => self.isUploading.setData(false) // Failed - mark to try again
|
||||
)
|
||||
return true;
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -53,6 +53,9 @@ export class ChangesetHandler {
|
|||
element.ping();
|
||||
|
||||
}
|
||||
|
||||
const newVersion = parseInt(node.attributes.new_id.value);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue