edit value/section for UI - backend still not working

This commit is contained in:
Timo Bejan 2021-12-14 21:15:08 +02:00
parent 82f7864a0a
commit 8e815d2e10
3 changed files with 5 additions and 1 deletions

View File

@ -219,6 +219,8 @@ export class AnnotationWrapper {
annotationWrapper.comments = redactionLogEntry.comments || [];
annotationWrapper.manual = redactionLogEntry.manual;
annotationWrapper.engines = redactionLogEntry.engines;
annotationWrapper.section = redactionLogEntry.section;
annotationWrapper.rectangle = redactionLogEntry.rectangle;
this._createContent(annotationWrapper, redactionLogEntry);
this._setSuperType(annotationWrapper, redactionLogEntry);

View File

@ -240,7 +240,7 @@ export class PdfViewerComponent implements OnInit, OnChanges {
// this will auto select rectangle after drawing
if (annotations.length === 1 && annotations[0].ToolName === 'AnnotationCreateRectangle') {
this.annotationManager.selectAnnotations(annotations);
annotations[0].enableRotationControl();
annotations[0].disableRotationControl();
}
});

View File

@ -1260,6 +1260,8 @@
"dictionary": "Dictionary",
"legalBasis": "Legal Basis",
"reason": "Reason",
"section": "Paragraph / Location",
"classification": "Value / Classification",
"reason-placeholder": "Select a reason ...",
"rectangle": "Custom Rectangle",
"text": "Selected text:"