RED-7673 - deselected annotation when page is changed instead of updating the actions with an empty list

This commit is contained in:
Valentin Mihai 2023-10-27 16:23:43 +03:00
parent 6923a00caf
commit 871ff5759e

View File

@ -58,6 +58,7 @@ export class PdfProxyService {
readonly currentUser = getCurrentUser<User>();
readonly pageChanged$ = this._pdf.pageChanged$.pipe(
tap(() => this.#handleExcludedPageActions()),
tap(() => this._annotationManager.deselect()),
shareDistinctLast(),
);
readonly canPerformActions = computed(() => {