RED-8151: fixed maximum call stack error.
This commit is contained in:
parent
f8a78c8238
commit
42eef62fa2
@ -390,9 +390,10 @@ export class PdfProxyService {
|
||||
}
|
||||
|
||||
const annotationChangesAllowed = !this.#isDocumine || !this._state.file().excludedFromAutomaticAnalysis;
|
||||
actions = this._multiSelectService.inactive()
|
||||
? [...actions, ...this._pdfAnnotationActionsService.get(annotationWrappers, annotationChangesAllowed)]
|
||||
: [];
|
||||
actions =
|
||||
this._multiSelectService.inactive() && !this._documentViewer.selectedText.length
|
||||
? [...actions, ...this._pdfAnnotationActionsService.get(annotationWrappers, annotationChangesAllowed)]
|
||||
: [];
|
||||
this._pdf.instance.UI.annotationPopup.update(actions);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user