Skip to content

Commit

Permalink
Merge pull request #230 from Renumics/fix/166-show-all-supported-type…
Browse files Browse the repository at this point in the history
…s-in-filebrowser

Fix/166 show all supported types in filebrowser
  • Loading branch information
druzsan authored Sep 18, 2023
2 parents 200dd35 + 4c670d5 commit f5bcbc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const FileBar = () => {
onCancel={closeBrowser}
cancellable={hasTable}
openCaption={openCaption}
extensions={['h5', 'csv']}
extensions={['h5', 'csv', 'parquet', 'feather', 'orc']}
/>
</Dialog>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/FileBrowser/FileBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const FileBrowser = ({
<Button
tw="bg-green-400 text-white disabled:bg-gray-400 disabled:text-gray-700 rounded px-1 py-0.5"
onClick={openSelectedFile}
disabled={!(selectedFile?.type === 'file')}
disabled={!selectedFile}
>
{openCaption}
</Button>
Expand Down

0 comments on commit f5bcbc4

Please sign in to comment.