RED-4417: Add 'removed by manual override' to ignored hints reason
This commit is contained in:
parent
24a5346ef6
commit
cedf228048
@ -359,8 +359,16 @@ export class AnnotationWrapper implements IListable, Record<string, unknown> {
|
|||||||
content += 'Legal basis: ' + annotationWrapper.legalBasis + '\n\n';
|
content += 'Legal basis: ' + annotationWrapper.legalBasis + '\n\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (annotationWrapper.hasBeenRemovedByManualOverride) {
|
||||||
|
content += 'Removed by manual override';
|
||||||
|
}
|
||||||
|
|
||||||
if (entry.section) {
|
if (entry.section) {
|
||||||
content += 'In section: "' + entry.section + '"';
|
let prefix = 'In section: ';
|
||||||
|
if (content.length) {
|
||||||
|
prefix = ` ${prefix.toLowerCase()}`;
|
||||||
|
}
|
||||||
|
content += `${prefix} "${entry.section}"`;
|
||||||
}
|
}
|
||||||
|
|
||||||
annotationWrapper.shortContent = this._getShortContent(annotationWrapper, entry) || content;
|
annotationWrapper.shortContent = this._getShortContent(annotationWrapper, entry) || content;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user