RED-6435: Cleanup unecessary code

This commit is contained in:
Adina Țeudan 2023-11-07 13:58:15 +02:00
parent 534f84bdba
commit 52dfb13a15

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 {