RED-3572 -> Reason starts with comma
This commit is contained in:
parent
9a30a9fba7
commit
4aaff26282
@ -328,6 +328,9 @@ export class AnnotationWrapper {
|
||||
|
||||
if (entry.reason) {
|
||||
content += entry.reason + '\n\n';
|
||||
//remove leading and trailing commas and whitespaces
|
||||
content = content.replace(/^[, ]*|[, ]*$/g, '');
|
||||
content = content.substring(0, 1).toUpperCase() + content.substring(1);
|
||||
}
|
||||
|
||||
if (annotationWrapper.legalBasis) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user