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 ||