Skip to content

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

improvement: handle singular

Scott Wilson80d2d9d2cfc7
diff --git a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx
index 13d86e2775..44a4e8eec0 100644
--- a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx
+++ b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx
@@ -369,7 +369,8 @@ export const ShareSecretForm = ({
helperText={
maxSharedSecretViewLimit ? (
<span className="text-yellow-500">
- Limited to {maxSharedSecretViewLimit} views by organization
+ Limited to {maxSharedSecretViewLimit} view
+ {maxSharedSecretViewLimit === 1 ? "" : "s"} by organization
</span>
) : undefined
}