File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
packages/core/src/amazonq/webview/ui/quickActions Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export class QuickActionHandler {
107107 }
108108 }
109109
110- private handleScanCommand ( tabID : string , eventId : string | undefined ) {
110+ private handleScanCommand ( tabID : string | undefined , eventId : string | undefined ) {
111111 if ( ! this . isScanEnabled || ! this . mynahUI ) {
112112 return
113113 }
@@ -126,6 +126,14 @@ export class QuickActionHandler {
126126 return
127127 }
128128
129+ /**
130+ * status bar -> "full project scan is now /review" doesn't have a tab ID
131+ * since it's called via a command so we need to manually create one
132+ */
133+ if ( ! tabID ) {
134+ tabID = this . mynahUI . updateStore ( '' , { } )
135+ }
136+
129137 // if there is no scan tab, open a new one
130138 const affectedTabId : string | undefined = this . addTab ( tabID )
131139
You can’t perform that action at this time.
0 commit comments