Resolve comment with fix-applied after apply fix in apply dialog This is same as we do for 1-click apply fix. Google-Bug-Id: b/326195247 Release-Notes: skip Change-Id: Iba62d277231217148b129ab93495b21a3ef608eb
diff --git a/polygerrit-ui/app/elements/shared/gr-fix-suggestions/gr-fix-suggestions.ts b/polygerrit-ui/app/elements/shared/gr-fix-suggestions/gr-fix-suggestions.ts index 9e78e2a..607af08 100644 --- a/polygerrit-ui/app/elements/shared/gr-fix-suggestions/gr-fix-suggestions.ts +++ b/polygerrit-ui/app/elements/shared/gr-fix-suggestions/gr-fix-suggestions.ts
@@ -158,7 +158,11 @@ }; }), patchNum: this.comment.patch_set, - onCloseFixPreviewCallbacks: [], + onCloseFixPreviewCallbacks: [ + fixApplied => { + if (fixApplied) fire(this, 'apply-user-suggestion', {}); + }, + ], }; fire(this, 'open-fix-preview', eventDetail); }