chore: rename "none" document access to "no restrictions" (#1138)

## Description

Renames the "None" document access option to "No restrictions".
This commit is contained in:
Roni Äikäs
2024-07-29 05:40:36 +03:00
committed by GitHub
parent 0ff3844f18
commit 71a8a3eaa6
2 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ export const DocumentGlobalAuthAccessSelect = forwardRef<HTMLButtonElement, Sele
(props, ref) => (
<Select {...props}>
<SelectTrigger ref={ref} className="bg-background text-muted-foreground">
<SelectValue data-testid="documentAccessSelectValue" placeholder="None" />
<SelectValue data-testid="documentAccessSelectValue" placeholder="No restrictions" />
</SelectTrigger>
<SelectContent position="popper">
@ -31,7 +31,7 @@ export const DocumentGlobalAuthAccessSelect = forwardRef<HTMLButtonElement, Sele
))}
{/* Note: -1 is remapped in the Zod schema to the required value. */}
<SelectItem value={'-1'}>None</SelectItem>
<SelectItem value={'-1'}>No restrictions</SelectItem>
</SelectContent>
</Select>
),
@ -57,8 +57,8 @@ export const DocumentGlobalAuthAccessTooltip = () => (
<strong>Require account</strong> - The recipient must be signed in to view the document
</li>
<li>
<strong>None</strong> - The document can be accessed directly by the URL sent to the
recipient
<strong>No restrictions</strong> - The document can be accessed directly by the URL sent
to the recipient
</li>
</ul>
</TooltipContent>