From 3e4a83704df4ec01da94ccc30e13301a97696645 Mon Sep 17 00:00:00 2001 From: Georg Dangl Date: Thu, 5 Sep 2024 21:36:10 +0200 Subject: [PATCH] Show error in case project can not be deleted --- .../app/components/projects-table/projects-table.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ipa-bcfier-ui/src/app/components/projects-table/projects-table.component.ts b/src/ipa-bcfier-ui/src/app/components/projects-table/projects-table.component.ts index 96327d2..6dea673 100644 --- a/src/ipa-bcfier-ui/src/app/components/projects-table/projects-table.component.ts +++ b/src/ipa-bcfier-ui/src/app/components/projects-table/projects-table.component.ts @@ -247,7 +247,9 @@ export class ProjectsTableComponent this.applyFilter(this.filter); } }, - error: () => {}, + error: () => { + this.notificationsService.error('Failed to delete the project.'); + }, }); }