Open djangoliv opened 3 years ago
Can confirm this as well
This is most annoying. If you pass a boolean to the onDeleteFolder prop which is valid prop type, the code complains that onDeleteFolder is not a function because it still tries to execute it as a function. If you pass a null function, you avoid the not a function exception, but then the folder containing the files to be deleted is "deleted" from the listing. You have to reload it for it to appear again.
When you select 2 files and confirm delete, the onDeleteFile function is call but the onDeleteFolder is call too.
Regards