Skip to content

Commit 881398e

Browse files
fix(amazonqDoc): re-open diff when file clicked (#5276)
1 parent 80442e0 commit 881398e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q Doc README diff will re-open when the README file is clicked after it has been closed"
4+
}s

plugins/amazonq/mynah-ui/src/mynah-ui/ui/connector.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,9 @@ export class Connector {
519519
case 'codetest':
520520
this.codeTestChatConnector.onFormButtonClick(tabID, messageId ?? '', {id: "utg_view_diff"})
521521
break
522+
case 'doc':
523+
this.docChatConnector.onOpenDiff(tabID, filePath, deleted)
524+
break
522525
}
523526
}
524527

0 commit comments

Comments
 (0)