RED-8375: fixed actions for documine.
This commit is contained in:
parent
c0bd129b5c
commit
be25253ee7
@ -99,7 +99,6 @@ export class PdfProxyService {
|
|||||||
this._pdf.isCompareMode();
|
this._pdf.isCompareMode();
|
||||||
|
|
||||||
this.#configureTextPopup();
|
this.#configureTextPopup();
|
||||||
this.#handleExcludedPageActions();
|
|
||||||
|
|
||||||
if (canPerformActions) {
|
if (canPerformActions) {
|
||||||
this.#enableActions();
|
this.#enableActions();
|
||||||
@ -107,6 +106,8 @@ export class PdfProxyService {
|
|||||||
this.#disableActions();
|
this.#disableActions();
|
||||||
this.#deactivateMultiSelect();
|
this.#deactivateMultiSelect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.#handleExcludedPageActions();
|
||||||
},
|
},
|
||||||
{ allowSignalWrites: true },
|
{ allowSignalWrites: true },
|
||||||
);
|
);
|
||||||
@ -231,7 +232,7 @@ export class PdfProxyService {
|
|||||||
let textPopupElementsToDisable = [...TEXT_POPUPS_TO_TOGGLE];
|
let textPopupElementsToDisable = [...TEXT_POPUPS_TO_TOGGLE];
|
||||||
let headerElementsToDisable = [...HEADER_ITEMS_TO_TOGGLE];
|
let headerElementsToDisable = [...HEADER_ITEMS_TO_TOGGLE];
|
||||||
|
|
||||||
if (this.canPerformActions()) {
|
if (this.canPerformActions() && !this.#isDocumine) {
|
||||||
this._pdf.enable(ALLOWED_ACTIONS_WHEN_PAGE_EXCLUDED);
|
this._pdf.enable(ALLOWED_ACTIONS_WHEN_PAGE_EXCLUDED);
|
||||||
this._viewerHeaderService.enable(ALLOWED_ACTIONS_WHEN_PAGE_EXCLUDED as HeaderElementType[]);
|
this._viewerHeaderService.enable(ALLOWED_ACTIONS_WHEN_PAGE_EXCLUDED as HeaderElementType[]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user