From aadebc301bdbec887df572983937e5fbf8541a8b Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Wed, 9 Oct 2024 12:43:20 +0200 Subject: [PATCH] fix: sync config state and webview checkbox --- src/settingsWebview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settingsWebview.ts b/src/settingsWebview.ts index 3da9a09..718a643 100644 --- a/src/settingsWebview.ts +++ b/src/settingsWebview.ts @@ -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() } }),