File tree Expand file tree Collapse file tree 1 file changed +20
-17
lines changed
packages/core/src/amazonq/webview/ui/tabs Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -72,23 +72,26 @@ export class TabDataGenerator {
72
72
} ,
73
73
]
74
74
: [ ] ,
75
- promptInputOptions : [
76
- {
77
- type : 'toggle' ,
78
- id : 'prompt-type' ,
79
- value : 'ask' ,
80
- options : [
81
- {
82
- value : 'pair-programming-on' ,
83
- icon : 'code-block' , // TODO: correct icons
84
- } ,
85
- {
86
- value : 'pair-programming-off' ,
87
- icon : 'chat' , // TODO: correct icons
88
- } ,
89
- ] ,
90
- } ,
91
- ] ,
75
+ promptInputOptions :
76
+ tabType === 'cwc'
77
+ ? [
78
+ {
79
+ type : 'toggle' ,
80
+ id : 'prompt-type' ,
81
+ value : 'ask' ,
82
+ options : [
83
+ {
84
+ value : 'pair-programming-on' ,
85
+ icon : 'code-block' , // TODO: correct icons
86
+ } ,
87
+ {
88
+ value : 'pair-programming-off' ,
89
+ icon : 'chat' , // TODO: correct icons
90
+ } ,
91
+ ] ,
92
+ } ,
93
+ ]
94
+ : [ ] ,
92
95
}
93
96
return tabData
94
97
}
You can’t perform that action at this time.
0 commit comments