Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: invalidate project CAs query after CA cert install
bernie-g7c708154f200
diff --git a/frontend/src/hooks/api/ca/mutations.tsx b/frontend/src/hooks/api/ca/mutations.tsxindex 943dff1417..2af82cce24 100644--- a/frontend/src/hooks/api/ca/mutations.tsx+++ b/frontend/src/hooks/api/ca/mutations.tsx@@ -132,6 +132,9 @@ export const useImportCaCertificate = () => {queryClient.invalidateQueries({queryKey: caKeys.listCasByProjectId()});+ queryClient.invalidateQueries({+ predicate: (query) => query.queryKey.includes("project-cas")+ });}});};@@ -391,6 +394,9 @@ export const useGenerateCaCertificate = () => {queryClient.invalidateQueries({queryKey: caKeys.listCasByProjectId()});+ queryClient.invalidateQueries({+ predicate: (query) => query.queryKey.includes("project-cas")+ });}});};