Skip to content

Commit

Permalink
Merge pull request #19 from aws/dchitrod/messageid-followup
Browse files Browse the repository at this point in the history
fix: telemetry messageId followup
  • Loading branch information
ppiliaev authored Nov 3, 2023
2 parents 0a2fd5a + 0986241 commit 666133d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws/mynah-ui",
"displayName": "AWS Mynah UI",
"version": "2.0.0-beta.13.5",
"version": "2.0.0-beta.13.6",
"description": "AWS Tookit VSCode and Intellij IDE Extension Mynah UI",
"publisher": "Amazon Web Services",
"license": "Apache License 2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/chat-item/chat-item-followup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class ChatItemFollowUpContainer {
events: {
click: (e) => {
this.hideCroppedFollowupText();
MynahUIGlobalEvents.getInstance().dispatch(MynahEventNames.FOLLOW_UP_CLICKED, { tabId: this.props.tabId, followUpOption });
MynahUIGlobalEvents.getInstance().dispatch(MynahEventNames.FOLLOW_UP_CLICKED, { tabId: this.props.tabId, messageId: this.props.chatItem.messageId, followUpOption });
if ((this.render.parentElement as ExtendedHTMLElement)?.hasClass('mynah-chat-item-empty')) {
this.render.parentElement?.remove();
};
Expand Down

0 comments on commit 666133d

Please sign in to comment.