Skip to content

Commit a50303a

Browse files
committed
fix /help does nothing in welcome page
1 parent 40b2d4e commit a50303a

File tree

1 file changed

+2
-1
lines changed
  • plugins/amazonq/mynah-ui/src/mynah-ui/ui/quickActions

1 file changed

+2
-1
lines changed

plugins/amazonq/mynah-ui/src/mynah-ui/ui/quickActions/handler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class QuickActionHandler {
5757
this.handleFeatureDevCommand(chatPrompt, tabID, 'Q - Dev')
5858
break
5959
case '/help':
60+
console.log('123')
6061
this.handleHelpCommand(tabID)
6162
break
6263
case '/transform':
@@ -134,7 +135,7 @@ export class QuickActionHandler {
134135

135136
private handleHelpCommand(tabID: string) {
136137
// User entered help action, so change the tab type to 'cwc' if it's an unknown tab
137-
if (this.tabsStorage.getTab(tabID)?.type === 'unknown') {
138+
if (this.tabsStorage.getTab(tabID)?.type === 'unknown' || this.tabsStorage.getTab(tabID)?.type === 'welcome') {
138139
this.tabsStorage.updateTabTypeFromUnknown(tabID, 'cwc')
139140
}
140141

0 commit comments

Comments
 (0)