diff --git a/plugin/src/software/aws/toolkits/eclipse/amazonq/views/AmazonQChatWebview.java b/plugin/src/software/aws/toolkits/eclipse/amazonq/views/AmazonQChatWebview.java index d2346ed9..59772dec 100644 --- a/plugin/src/software/aws/toolkits/eclipse/amazonq/views/AmazonQChatWebview.java +++ b/plugin/src/software/aws/toolkits/eclipse/amazonq/views/AmazonQChatWebview.java @@ -247,7 +247,7 @@ private String generateJS(final String jsEntrypoint) { window.addEventListener('load', init); """, jsEntrypoint, getWaitFunction(), chatQuickActionConfig, - disclaimerAcknowledged.equals("true")); + "true".equals(disclaimerAcknowledged)); } /*