diff --git a/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts b/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts index e8b7fc324..8feac0562 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts @@ -229,6 +229,11 @@ export class PdfProxyService { return; } + if (this._state.file().excludedFromAutomaticAnalysis) { + this.#disableActions(); + return; + } + let textPopupElementsToDisable = [...TEXT_POPUPS_TO_TOGGLE]; let headerElementsToDisable = [...HEADER_ITEMS_TO_TOGGLE];