Merge branch 'RED-6435' into 'master'

RED-6435: Cleanup unecessary code

Closes RED-6435

See merge request redactmanager/red-ui!174
This commit is contained in:
Dan Percic 2023-11-07 15:16:01 +01:00
commit 54303e49eb

View File

@ -253,10 +253,6 @@ export class PdfProxyService {
this._pdf.instance.UI.enableTools([AnnotationToolNames.AnnotationCreateRectangle]);
this._pdf.enable(TEXT_POPUPS_TO_TOGGLE);
this._viewerHeaderService.enable(HEADER_ITEMS_TO_TOGGLE);
if (this._documentViewer.selectedText.length > 2) {
this._pdf.enable([TextPopups.REDACT_TEXT, TextPopups.ADD_HINT, TextPopups.ADD_FALSE_POSITIVE]);
}
}
#getManualRedaction(quads: Record<string, Quad[]>, text?: string, convertQuads = false): IManualRedactionEntry {