mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 19:26:07 +00:00
improvement: handle singular
This commit is contained in:
@@ -369,7 +369,8 @@ export const ShareSecretForm = ({
|
|||||||
helperText={
|
helperText={
|
||||||
maxSharedSecretViewLimit ? (
|
maxSharedSecretViewLimit ? (
|
||||||
<span className="text-yellow-500">
|
<span className="text-yellow-500">
|
||||||
Limited to {maxSharedSecretViewLimit} views by organization
|
Limited to {maxSharedSecretViewLimit} view
|
||||||
|
{maxSharedSecretViewLimit === 1 ? "" : "s"} by organization
|
||||||
</span>
|
</span>
|
||||||
) : undefined
|
) : undefined
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user