From 08b6e1ff8c2a4e18d9fc028d3a4c6dc762e0eeb6 Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Thu, 31 Oct 2024 14:02:52 +0200 Subject: [PATCH] RED-10163: fix delete justification by using technical_name as id. --- libs/red-domain/src/lib/legal-basis/justification.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/red-domain/src/lib/legal-basis/justification.model.ts b/libs/red-domain/src/lib/legal-basis/justification.model.ts index 9b4d4c7aa..cda69d7f4 100644 --- a/libs/red-domain/src/lib/legal-basis/justification.model.ts +++ b/libs/red-domain/src/lib/legal-basis/justification.model.ts @@ -16,7 +16,7 @@ export class Justification implements ILegalBasis, IListable { } get id(): string { - return this.name; + return this.technicalName ?? this.name; } get searchKey(): string {