Skip to content

Commit 4170e69

Browse files
committed
Add error toast for C&E complaint/referral loading
1 parent ca8ac85 commit 4170e69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alcs-frontend/src/app/features/compliance-and-enforcement/details/complaint-referral/complaint-referral.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export class ComplaintReferralComponent implements OnInit, OnDestroy {
6969
this.router.navigate(['../..'], { relativeTo: this.route });
7070
} catch (error) {
7171
console.error('Error updating file:', error);
72+
this.toastService.showErrorToast('Error loading file');
7273
}
7374
}
7475

0 commit comments

Comments
 (0)