Ensure change is WIP before firing WIP reviewer toast Change 353134 incorrectly assumed startReview is true for active changes, which means the toast was firing for active changes. Check change is WIP before firing the toast. Release-Notes: skip Change-Id: I220177bf446da7ab82d89ee53e83940879c597f5
diff --git a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts index 933d06f..767c4cf 100644 --- a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts +++ b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
@@ -1407,7 +1407,7 @@ if (startReview) { reviewInput.ready = true; - } else { + } else if (this.change?.work_in_progress) { const addedAccounts = [ ...(this.reviewersList?.additions() ?? []), ...(this.ccsList?.additions() ?? []),