From 80d2d9d2cfc77862e2df886859a5401a7d0afb26 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Tue, 3 Jun 2025 15:38:39 -0700 Subject: [PATCH] improvement: handle singular --- .../public/ShareSecretPage/components/ShareSecretForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx index 13d86e277..44a4e8eec 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 ? ( - Limited to {maxSharedSecretViewLimit} views by organization + Limited to {maxSharedSecretViewLimit} view + {maxSharedSecretViewLimit === 1 ? "" : "s"} by organization ) : undefined }