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
improvement: improve role not found error display
Scott Wilson45c08b3f0987
diff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/components/DuplicateRoleModal.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/components/DuplicateRoleModal.tsxindex fd63a873bc..044be81691 100644--- a/frontend/src/pages/project/RoleDetailsBySlugPage/components/DuplicateRoleModal.tsx+++ b/frontend/src/pages/project/RoleDetailsBySlugPage/components/DuplicateRoleModal.tsx@@ -150,7 +150,9 @@ export const DuplicateRoleModal = ({ isOpen, onOpenChange, roleSlug }: Props) =>) : role ? (<Content role={role!} onClose={() => onOpenChange(false)} />) : (- <span>Error: could not find role with slug "{roleSlug}"</span>+ <p className="w-full text-center text-red">+ Error: could not find role with slug "{roleSlug}"+ </p>)}</ModalContent></Modal>