Merge branch 'develop' of https://git.akkerweb.nl/FarmMaps/FarmMapsLib into develop
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
This commit is contained in:
commit
8d723477d3
@ -109,7 +109,10 @@ export class ResumableFileUploadService implements OnDestroy{
|
||||
};
|
||||
|
||||
doClose = function () {
|
||||
this.uploadService.control({action:'cancelAll'});
|
||||
var toCancel = this.files.filter((f) => !f.success);
|
||||
toCancel.forEach(f => {
|
||||
this.uploadService.control({action:'cancel',uploadId:f.identifier});
|
||||
});
|
||||
this.files = new Array<File>();
|
||||
this.isClosed = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user