commit | 4ca9f2f857335d44aa69765095b83cc307df311c | [log] [tgz] |
---|---|---|
author | Chris Poucet <poucet@google.com> | Thu Feb 01 17:28:50 2024 +0100 |
committer | Chris Poucet <poucet@google.com> | Thu Feb 01 17:29:48 2024 +0100 |
tree | 5fb51bbb8e0cef5a3e43cd32d97e2596b92b3170 | |
parent | 7e535d6f8171c9a7f1e1a8d4724be978b8d048e8 [diff] [blame] |
Do not suggest code if the user has disabled it. Google-Bug-Id: b/322179106 Release-Notes: skip Change-Id: Iabf48ef2f34d187d79ed549752237b86df76a9d8
diff --git a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts index e0ec61b..b8b4b9a 100644 --- a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts +++ b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts
@@ -1095,6 +1095,7 @@ if ( !suggestionsProvider?.suggestCode || !this.showGeneratedSuggestion() || + !this.generateSuggestion || !changeInfo || !this.comment || !this.comment.patch_set ||