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
2bd524842e
commit
f5d63c9174
@ -96,7 +96,7 @@ export class AnnotationDetailsComponent implements OnChanges {
|
||||
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