Explorer card displays loading...
when an empty directory is selected in fileOpenDialog
#591
Labels
bug
Bug reports or bug fixes
Describe the bug
Selecting any empty directory within the
fileOpenDialog
will result in anExplorer
card instance that permanently holds theloading...
state. This state was meant to provide a graceful default state while the directory content is loading, but in this case there will always be 0 sub-files and sub-directories.To Reproduce
Steps to reproduce the behavior:
Synectic
File
→Open...
Open
buttonExplorer
card to loadExpected behavior
An icon and/or text indicating that the selected directory is empty.
Screenshots
Versions (please complete the following information):
development
)Additional context
Relevant code that checks and displaying the
loading...
state is available inExplorer.tsx:54-55
.The text was updated successfully, but these errors were encountered: