Skip to content

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

improvement: address feedback

Scott Wilson4268fdea44e1
diff --git a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx
index a374f13774..13d86e2775 100644
--- a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx
+++ b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx
@@ -367,9 +367,11 @@ export const ShareSecretForm = ({
isError={Boolean(error)}
className="flex-1"
helperText={
- maxSharedSecretViewLimit
- ? `Limited to ${maxSharedSecretViewLimit} by organization.`
- : undefined
+ maxSharedSecretViewLimit ? (
+ <span className="text-yellow-500">
+ Limited to {maxSharedSecretViewLimit} views by organization
+ </span>
+ ) : undefined
}
>
<Input