Merge branch 'VM/RED-10593' into 'master'

RED-10593 - when legalBasisValue = 'n-a' set empty string as param to not...

Closes RED-10593

See merge request redactmanager/red-ui!746
This commit is contained in:
Dan Percic 2024-12-05 10:35:25 +01:00
commit 61b238d511

View File

@ -89,7 +89,7 @@ export class AnnotationDetailsComponent {
icon: 'red:rule',
description: _('annotation-engines.rule'),
show: isBasedOn(annotation, LogEntryEngines.RULE),
translateParams: { rule: annotation.legalBasisValue || '' },
translateParams: { rule: annotation.legalBasisValue === 'n-a' ? '' : annotation.legalBasisValue || '' },
},
{
icon: 'red:import_redactions',