DM-422 - Move the colon from after “section” to after “matched”
This commit is contained in:
parent
2481b3cc12
commit
97cff35e86
@ -425,7 +425,7 @@ export class AnnotationWrapper implements IListable {
|
|||||||
static #createContent(annotationWrapper: AnnotationWrapper, entry: IRedactionLogEntry, isDocumine: boolean) {
|
static #createContent(annotationWrapper: AnnotationWrapper, entry: IRedactionLogEntry, isDocumine: boolean) {
|
||||||
let content = '';
|
let content = '';
|
||||||
if (entry.matchedRule) {
|
if (entry.matchedRule) {
|
||||||
content += `Rule ${entry.matchedRule} matched \n\n`;
|
content += `Rule ${entry.matchedRule} matched${isDocumine ? ':' : ''} \n\n`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.reason) {
|
if (entry.reason) {
|
||||||
@ -444,7 +444,7 @@ export class AnnotationWrapper implements IListable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (entry.section) {
|
if (entry.section) {
|
||||||
let prefix = 'In section: ';
|
let prefix = `In section${isDocumine ? '' : ':'} `;
|
||||||
if (content.length) {
|
if (content.length) {
|
||||||
prefix = ` ${prefix.toLowerCase()}`;
|
prefix = ` ${prefix.toLowerCase()}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user