Skip to content

Commit 3cfe883

Browse files
authored
Merge pull request #298365 from microsoft/connor4312/297559
chat: fix dropdown action order to match default
2 parents 3bc832a + a3f153b commit 3cfe883

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,14 @@ export class ChatQueuePickerActionItem extends BaseActionViewItem {
159159
}
160160

161161
private _getDropdownActions(): IActionWidgetDropdownAction[] {
162+
const isSteerDefault = this._isSteerDefault();
163+
162164
const queueAction: IActionWidgetDropdownAction = {
163165
id: ChatQueueMessageAction.ID,
164166
label: localize('chat.queueMessage', "Add to Queue"),
165167
tooltip: '',
166168
enabled: true,
169+
checked: !isSteerDefault,
167170
icon: Codicon.add,
168171
class: undefined,
169172
hover: {
@@ -179,6 +182,7 @@ export class ChatQueuePickerActionItem extends BaseActionViewItem {
179182
label: localize('chat.steerWithMessage', "Steer with Message"),
180183
tooltip: '',
181184
enabled: true,
185+
checked: isSteerDefault,
182186
icon: Codicon.arrowRight,
183187
class: undefined,
184188
hover: {

0 commit comments

Comments
 (0)