forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
0ae78f19f3
commit
be9784e047
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ export class Changes {
|
||||||
* Uploads all the pending changes in one go.
|
* Uploads all the pending changes in one go.
|
||||||
* Triggered by the 'PendingChangeUploader'-actor in Actors
|
* Triggered by the 'PendingChangeUploader'-actor in Actors
|
||||||
*/
|
*/
|
||||||
public async flushChanges(flushreason: string = undefined, openChangeset: UIEventSource<number>) : Promise<void>{
|
public async flushChanges(flushreason: string = undefined, openChangeset?: UIEventSource<number>) : Promise<void>{
|
||||||
if (this.pendingChanges.data.length === 0) {
|
if (this.pendingChanges.data.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -312,7 +312,7 @@ export class Changes {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async flushChangesAsync(openChangeset: UIEventSource<number>): Promise<void> {
|
private async flushChangesAsync(openChangeset?: UIEventSource<number>): Promise<void> {
|
||||||
const self = this;
|
const self = this;
|
||||||
try {
|
try {
|
||||||
// At last, we build the changeset and upload
|
// At last, we build the changeset and upload
|
||||||
|
|
Loading…
Add table
Reference in a new issue