Skip to content

Commit

Permalink
fix: sync config state and webview checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 9, 2024
1 parent 076794c commit 7a3bd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settingsWebview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class SettingsWebview implements vscode.WebviewViewProvider, vscode.Dispo
}),
// when the user changes the configuration manually, update the view
vscode.workspace.onDidChangeConfiguration((e) => {
if (e.affectsConfiguration('vitest')) {
if (e.affectsConfiguration('vitest.previewBrowser')) {
this.updateSettings()
}
}),
Expand Down

0 comments on commit 7a3bd89

Please # to comment.