Fix always allow read-only state
This commit is contained in:
1 parent
b93a866d5a
commit
ce208c8c8c
2 files changed
+4
-4
No files matched your search
@@ -324,8 +324,8 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
||||
await this.postStateToWebview()
|
||||
break
|
||||
case "alwaysAllowReadOnly":
|
||||
await this.updateGlobalState("alwaysAllowReadOnly", message.bool || undefined)
|
||||
this.claudeDev?.updateAlwaysAllowReadOnly(message.bool || undefined)
|
||||
await this.updateGlobalState("alwaysAllowReadOnly", message.bool ?? undefined)
|
||||
this.claudeDev?.updateAlwaysAllowReadOnly(message.bool ?? undefined)
|
||||
await this.postStateToWebview()
|
||||
break
|
||||
case "askResponse":
|
||||
@@ -681,7 +681,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
||||
maxRequestsPerTask,
|
||||
lastShownAnnouncementId,
|
||||
customInstructions,
|
||||
alwaysAllowReadOnly,
|
||||
alwaysAllowReadOnly: alwaysAllowReadOnly ?? false,
|
||||
taskHistory,
|
||||
koduCredits,
|
||||
shouldShowKoduPromo: shouldShowKoduPromo ?? true,
|
||||
|
||||
Reference in new issue
Block a user