Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/amazonq/mynah-ui/src/mynah-ui/ui/connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ export class Connector {
this.featureDevChatConnector.onOpenDiff(tabID, filePath, deleted)
break
case 'codetest':
this.codeTestChatConnector.onFileClick(tabID, filePath, deleted, messageId)
this.codeTestChatConnector.onFormButtonClick(tabID, messageId ?? '', {id: "utg_view_diff"})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for now but can you please add a TODO to clean this up? Ideally codeTestChatConnector should have a method called onOpenDiff instead of calling onFormButtonClick which should only be used by form buttons.

break
}
}
Expand Down
Loading