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 error notifications
x032205bdfb4fc2c46f
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsxindex 10e3a53198..4d1a15b6e2 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx@@ -209,15 +209,14 @@ export const PamResourceAccountsSection = ({ resource }: Props) => {const handleRotateAccount = async (accountId: string) => {try {setRotatingAccountIds((prev) => new Set(prev).add(accountId));- createNotification({ text: "Account rotation triggered", type: "success" });await manualRotate.mutateAsync({ accountId });+ createNotification({ text: "Account rotation triggered", type: "success" });} catch {setRotatingAccountIds((prev) => {const next = new Set(prev);next.delete(accountId);return next;});- createNotification({ text: "Failed to trigger rotation", type: "error" });}};