Set upload flag only when file is found
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
1073044f31
commit
ec9684b826
@ -59,8 +59,8 @@ export class ResumableFileUploadService implements OnDestroy{
|
||||
}
|
||||
switch(state.status) {
|
||||
case "uploading": {
|
||||
this.isUploading = true;
|
||||
if(file) {
|
||||
this.isUploading = true;
|
||||
file.progress = (state.progress?state.progress:0);
|
||||
}
|
||||
};break;
|
||||
|
Loading…
Reference in New Issue
Block a user