mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
improvement: handle singular
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user