Image error solve update
This commit is contained in:
@ -389,7 +389,7 @@ export class ProfessorComponent implements OnInit, OnDestroy {
|
||||
case HttpEventType.UploadProgress:
|
||||
this.fileUploadStatus.percentage = Math.round(100 * event.loaded / event.total!);
|
||||
this.fileUploadStatus.status = 'progress';
|
||||
break;
|
||||
break;
|
||||
case HttpEventType.Response:
|
||||
if (event.status === 200) {
|
||||
if (this.loggedInProfessor) {
|
||||
|
||||
Reference in New Issue
Block a user