Set upload flag only when file is found
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Details
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Details
parent
1073044f31
commit
ec9684b826
|
@ -58,9 +58,9 @@ export class ResumableFileUploadService implements OnDestroy{
|
|||
this.isClosed=false;
|
||||
}
|
||||
switch(state.status) {
|
||||
case "uploading": {
|
||||
this.isUploading = true;
|
||||
case "uploading": {
|
||||
if(file) {
|
||||
this.isUploading = true;
|
||||
file.progress = (state.progress?state.progress:0);
|
||||
}
|
||||
};break;
|
||||
|
|
Loading…
Reference in New Issue