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
make the toast info blue
Andrey029a16a2547c
diff --git a/frontend/src/pages/pam/components/RequestAccessSheet.tsx b/frontend/src/pages/pam/components/RequestAccessSheet.tsxindex ec8784e845..b1f64a0196 100644--- a/frontend/src/pages/pam/components/RequestAccessSheet.tsx+++ b/frontend/src/pages/pam/components/RequestAccessSheet.tsx@@ -282,15 +282,17 @@ export const RequestAccessSheet = ({let text = isCredentialRequest? "Credential access request submitted": "Access request submitted";+ let type: "success" | "info" = "success";if (breakGlassOnSubmit) {text = "Access granted. The approvers you skipped have been notified.";} else if (request?.autoApprovedAt) {text = `Access approved by the auto-approval rule "${approvingRule?.name ?? "auto-approval"}"`;} else if (outcome && firstFailure) {text = `${text}. It wasn't auto-approved: ${firstFailure}`;+ type = "info";}- createNotification({ text, type: "success" });+ createNotification({ text, type });reset();setAutoApprovalValues({});onOpenChange(false);