Skip to content

Commit aadebc3

Browse files
committed
fix: sync config state and webview checkbox
1 parent ca9ef1c commit aadebc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settingsWebview.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class SettingsWebview implements vscode.WebviewViewProvider, vscode.Dispo
3434
}),
3535
// when the user changes the configuration manually, update the view
3636
vscode.workspace.onDidChangeConfiguration((e) => {
37-
if (e.affectsConfiguration('vitest')) {
37+
if (e.affectsConfiguration('vitest.previewBrowser')) {
3838
this.updateSettings()
3939
}
4040
}),

0 commit comments

Comments
 (0)