Merge branch 'VM/DM-422' into 'master'

DM-422 - Move the colon from after “section” to after “matched”

Closes DM-422

See merge request redactmanager/red-ui!63
This commit is contained in:
Dan Percic 2023-09-11 13:41:22 +02:00
commit caa8746a7f

View File

@ -425,7 +425,7 @@ export class AnnotationWrapper implements IListable {
static #createContent(annotationWrapper: AnnotationWrapper, entry: IRedactionLogEntry, isDocumine: boolean) {
let content = '';
if (entry.matchedRule) {
content += `Rule ${entry.matchedRule} matched \n\n`;
content += `Rule ${entry.matchedRule} matched${isDocumine ? ':' : ''} \n\n`;
}
if (entry.reason) {
@ -444,7 +444,7 @@ export class AnnotationWrapper implements IListable {
}
if (entry.section) {
let prefix = 'In section: ';
let prefix = `In section${isDocumine ? '' : ':'} `;
if (content.length) {
prefix = ` ${prefix.toLowerCase()}`;
}