RED-6435: Cleanup unecessary code
This commit is contained in:
parent
534f84bdba
commit
52dfb13a15
@ -253,10 +253,6 @@ export class PdfProxyService {
|
|||||||
this._pdf.instance.UI.enableTools([AnnotationToolNames.AnnotationCreateRectangle]);
|
this._pdf.instance.UI.enableTools([AnnotationToolNames.AnnotationCreateRectangle]);
|
||||||
this._pdf.enable(TEXT_POPUPS_TO_TOGGLE);
|
this._pdf.enable(TEXT_POPUPS_TO_TOGGLE);
|
||||||
this._viewerHeaderService.enable(HEADER_ITEMS_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 {
|
#getManualRedaction(quads: Record<string, Quad[]>, text?: string, convertQuads = false): IManualRedactionEntry {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user