DM-422 - Remove remaining reason/legal basis fields
This commit is contained in:
parent
b7be0e916a
commit
49b9e98230
@ -429,6 +429,10 @@ export class AnnotationWrapper implements IListable {
|
||||
}
|
||||
|
||||
if (entry.reason) {
|
||||
if (isDocumine && entry.reason.slice(-1) === '.') {
|
||||
entry.reason = entry.reason.slice(0, -1);
|
||||
}
|
||||
|
||||
content += entry.reason + '\n\n';
|
||||
//remove leading and trailing commas and whitespaces
|
||||
content = content.replace(/(^[, ]*)|([, ]*$)/g, '');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user