2
0

🚸 (fileUpload) Correctly set default item for visibility

This commit is contained in:
Baptiste Arnaud
2024-02-21 18:04:18 +01:00
parent e4d2ebefcc
commit f2b21746bc

View File

@ -164,7 +164,7 @@ export const FileInputSettings = ({ options, onOptionsChange }: Props) => {
<DropdownList
label="Visibility:"
moreInfoTooltip='This setting determines who can see the uploaded files. "Public" means that anyone who has the link can see the files. "Private" means that only a members of this workspace can see the files.'
currentItem={options?.visibility}
currentItem={options?.visibility ?? defaultFileInputOptions.visibility}
onItemSelect={updateVisibility}
items={fileVisibilityOptions}
/>