From 601f7b239f6dfab58c23aaf578aae2b7fddfa064 Mon Sep 17 00:00:00 2001 From: Pranam Lashkari Date: Tue, 3 Sep 2024 18:56:47 +0200 Subject: [PATCH] annotation: fixed incorrect function call problem: incorrect function call was sending additional ShowResolvedAnnotations requests it caused to disregard the ShowResolvedAnnotations stat on reload unless document was saved Signed-off-by: Pranam Lashkari Change-Id: I3ab0f8b804428ea813582c04c85540363e51e210 --- browser/src/canvas/sections/CommentListSection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/src/canvas/sections/CommentListSection.ts b/browser/src/canvas/sections/CommentListSection.ts index 35cb0eeb3dea0..c3081c6f2c7ab 100644 --- a/browser/src/canvas/sections/CommentListSection.ts +++ b/browser/src/canvas/sections/CommentListSection.ts @@ -2141,7 +2141,7 @@ export class CommentSection extends app.definitions.canvasSectionObject { } var showResolved = this.map.stateChangeHandler.getItemValue('ShowResolvedAnnotations'); - app.map.showResolvedComments(showResolved === true || showResolved === 'true'); + this.setViewResolved(showResolved === true || showResolved === 'true'); if (this.sectionProperties.docLayer._docType === 'spreadsheet') this.hideAllComments(); // Apply drawing orders.