Skip to content

Commit 5809937

Browse files
committed
Fix button order in unsaved changes prompt for clarity
1 parent a35cc33 commit 5809937

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/views/manage-components-packs/components-packs-webview-main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ export class ComponentsPacksWebviewMain {
117117
if (await this.isDirty()) {
118118
const buttonOptions = [
119119
{ title: 'Save' },
120-
{ title: 'Don\'t Save', isCloseAffordance: true },
121-
{ title: 'Cancel' },
120+
{ title: 'Don\'t Save' },
121+
{ title: 'Cancel', isCloseAffordance: true },
122122
];
123123
const messageOptions: vscode.MessageOptions = { modal: true, detail: 'Your changes will be lost if you don\'t save them.' };
124124

0 commit comments

Comments
 (0)