RED-10593 - when legalBasisValue = 'n-a' set empty string as param to not display "Annotation based on rule n-a"
This commit is contained in:
parent
f30151e195
commit
fffcc80201
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user