Skip to content

Commit

Permalink
🚸 (fileUpload) Correctly set default item for visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Feb 22, 2024
1 parent e4d2ebe commit f2b2174
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
Expand Down

0 comments on commit f2b2174

Please sign in to comment.