RED-8375: disabled actions when both page and file are excluded.
This commit is contained in:
parent
8e69010364
commit
6a118f2514
@ -229,6 +229,11 @@ export class PdfProxyService {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this._state.file().excludedFromAutomaticAnalysis) {
|
||||||
|
this.#disableActions();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let textPopupElementsToDisable = [...TEXT_POPUPS_TO_TOGGLE];
|
let textPopupElementsToDisable = [...TEXT_POPUPS_TO_TOGGLE];
|
||||||
let headerElementsToDisable = [...HEADER_ITEMS_TO_TOGGLE];
|
let headerElementsToDisable = [...HEADER_ITEMS_TO_TOGGLE];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user