Skip to content

Commit 763e640

Browse files
committed
Pluralize 'email' in sharing dialog message
1 parent e97d5de commit 763e640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/app/(org)/dashboard/caps/components/SharingDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export const SharingDialog: React.FC<SharingDialogProps> = ({
349349
{!publicToggle
350350
? "Only people with access can view"
351351
: allowedEmailDomain?.trim()
352-
? `Only users with ${allowedEmailDomain.trim()} can view`
352+
? `Only users with matching ${allowedEmailDomain.trim().includes(",") ? "emails" : "email"} can view`
353353
: "Anyone on the internet with the link can view"}
354354
</p>
355355
</div>

0 commit comments

Comments
 (0)