diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 297fbf913..198f90aaa 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -359,8 +359,16 @@ export class AnnotationWrapper implements IListable, Record { content += 'Legal basis: ' + annotationWrapper.legalBasis + '\n\n'; } + if (annotationWrapper.hasBeenRemovedByManualOverride) { + content += 'Removed by manual override'; + } + 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;