Do not add when cancelled
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
dc329a0e29
commit
5f5d8a9712
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user