Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: addressed comment

Sheen Capadnganad74f4aa2b3b
diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RotateAccountFields.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RotateAccountFields.tsx
index 32a7040ec4..2695d11d27 100644
--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RotateAccountFields.tsx
+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RotateAccountFields.tsx
@@ -22,7 +22,10 @@ export const RotateAccountFields = ({
const rotationEnabled = watch("rotationEnabled");
return (
- <Tooltip content="The resource which owns this account does not have rotation credentials configured.">
+ <Tooltip
+ content="The resource which owns this account does not have rotation credentials configured."
+ isDisabled={rotationCredentialsConfigured}
+ >
<div
className={twMerge(
"flex h-9 w-fit items-center gap-3",