Skip to content

Commit d3082b4

Browse files
authored
Add isSecondary to custom buttons in chartConfirmationContentPart (microsoft#263467)
Add isSecondary to custom buttons in chartConfirmationConfirmation
1 parent 7929fb5 commit d3082b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export class ChatConfirmationContentPart extends Disposable implements IChatCont
3333
const buttons = confirmation.buttons
3434
? confirmation.buttons.map(button => ({
3535
label: button,
36-
data: confirmation.data
36+
data: confirmation.data,
37+
isSecondary: button !== confirmation.buttons?.[0],
3738
}))
3839
: [
3940
{ label: localize('accept', "Accept"), data: confirmation.data },

0 commit comments

Comments
 (0)