From ead29a61ddb0dd581c7380b3b40c9a1f48fcfe52 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 14 Jan 2025 16:07:14 -0500 Subject: [PATCH] fix to make disclaimer check null-safe (#321) --- .../aws/toolkits/eclipse/amazonq/views/AmazonQChatWebview.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /*