mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: cast message.values to string[] for diagnosticsFilter
This commit is contained in:
parent
6ab504a36f
commit
8117308183
1 changed files with 1 additions and 1 deletions
|
|
@ -1004,7 +1004,7 @@ export const webviewMessageHandler = async (
|
|||
await provider.postStateToWebview()
|
||||
break
|
||||
case "diagnosticsFilter":
|
||||
await updateGlobalState("diagnosticsFilter", message.values ?? ["error", "warning"])
|
||||
await updateGlobalState("diagnosticsFilter", (message.values as string[]) ?? ["error", "warning"])
|
||||
await provider.postStateToWebview()
|
||||
break
|
||||
case "setHistoryPreviewCollapsed": // Add the new case handler
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue