From 9025b3918707cca143fdb2e1205d1453f8055400 Mon Sep 17 00:00:00 2001 From: Matti Lupari Date: Tue, 13 Aug 2024 14:46:35 +0300 Subject: [PATCH] CSCEXAM-1291 Remove error dialog when canceling a modal window --- ui/src/app/enrolment/enrolment.service.ts | 1 - ui/src/app/facility/facility.component.ts | 1 - ui/src/app/navigation/navigation.component.html | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/src/app/enrolment/enrolment.service.ts b/ui/src/app/enrolment/enrolment.service.ts index 9ff871001..9a700901d 100644 --- a/ui/src/app/enrolment/enrolment.service.ts +++ b/ui/src/app/enrolment/enrolment.service.ts @@ -306,7 +306,6 @@ export class EnrolmentService { error: (err) => this.toast.error(err), }); }, - error: (err) => this.toast.error(err), }); }; diff --git a/ui/src/app/facility/facility.component.ts b/ui/src/app/facility/facility.component.ts index 6e9a3cde6..6b55c7c07 100644 --- a/ui/src/app/facility/facility.component.ts +++ b/ui/src/app/facility/facility.component.ts @@ -126,7 +126,6 @@ export class FacilityComponent implements OnInit { error: (err) => this.toast.error(err), }); }, - error: (err) => this.toast.error(err), }); }; diff --git a/ui/src/app/navigation/navigation.component.html b/ui/src/app/navigation/navigation.component.html index b8d0ded76..357936f26 100644 --- a/ui/src/app/navigation/navigation.component.html +++ b/ui/src/app/navigation/navigation.component.html @@ -28,7 +28,7 @@