fix(settings): protect saved keys and preserve clear failure state

This commit is contained in:
Magolor committed 2026-11-06 16:58:59 +08:00
1 parent 8b50763c0d
commit 86247d664b
35 files changed
+287 -184

No files matched your search

@@ -46,7 +46,6 @@ function projectCredentialInfo(info: CredentialInfo): CredentialInfo {
return {
configured: info.configured,
...info.source === undefined ? {} : { source: info.source },
...info.preview === undefined ? {} : { preview: info.preview },
writable: info.writable,
}
}