Skip to content

Commit acb4ac7

Browse files
committed
clean up script
1 parent f2f1e83 commit acb4ac7

File tree

1 file changed

+2
-5
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview

1 file changed

+2
-5
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -550,10 +550,9 @@ class BrowserConnector(
550550

551551
val script = """
552552
try {
553-
// Create a temporary connector with updated flags
554553
const tempConnector = connectorAdapter.initiateAdapter(
555-
false, // showWelcomePage
556-
true, // disclaimerAcknowledged
554+
false,
555+
true,
557556
$isFeatureDevAvailable,
558557
$isCodeTransformAvailable,
559558
$isDocAvailable,
@@ -562,10 +561,8 @@ class BrowserConnector(
562561
{ postMessage: () => {} }
563562
);
564563
565-
// Get the first two groups from the temp connector
566564
const newGroups = tempConnector.initialQuickActions?.slice(0, 2) || [];
567565
568-
// Send update with a special flag to handle deduplication
569566
window.postMessage({
570567
command: "chatOptions",
571568
params: {

0 commit comments

Comments
 (0)