Do not add when cancelled
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

2022.01
Willem Dantuma 2020-07-20 14:59:27 +02:00
parent dc329a0e29
commit 5f5d8a9712
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export class ResumableFileUploadService implements OnDestroy{
handleState(state:UploadState) {
var file =this.files.find((f) => f.identifier == state.uploadId )
if(!file) {
if(state.status != "cancelled" && !file) {
this.files.push(new File(state));
this.isClosed=false;
}