Skip to content

Commit

Permalink
Merge pull request #2395 from Agenta-AI/hot-fix/-stale-secret-state-c…
Browse files Browse the repository at this point in the history
…ausing-404-when-adding-secrets-after-deletion

(frontend)[Vault Hot Fix]: Stale secret state causing 404 when adding secrets after deletion
  • Loading branch information
aybruhm authored Dec 27, 2024
2 parents caa2a0f + 12c5a34 commit 372c4e7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default function Secrets() {
})
const newLlmProviderKeys = [...llmProviderKeys]
newLlmProviderKeys[i].key = ""
newLlmProviderKeys[i].id = ""
setLlmProviderKeys(newLlmProviderKeys)
messageAPI.warning("The secret is deleted")
} finally {
Expand Down

0 comments on commit 372c4e7

Please sign in to comment.