diff --git a/src/web/app/pages-admin/admin-home-page/admin-home-page.component.ts b/src/web/app/pages-admin/admin-home-page/admin-home-page.component.ts index ddc88d081d5..1d3e4d7c552 100644 --- a/src/web/app/pages-admin/admin-home-page/admin-home-page.component.ts +++ b/src/web/app/pages-admin/admin-home-page/admin-home-page.component.ts @@ -70,6 +70,11 @@ export class AdminHomePageComponent implements OnInit { next: () => { this.fetchAccountRequests(); }, + error: (resp: ErrorMessageOutput) => { + invalidLines.push(instructorDetail); + this.instructorDetails = invalidLines.join('\r\n'); + this.statusMessageService.showErrorToast(resp.error.message); + }, }); } this.instructorDetails = invalidLines.join('\r\n');