-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty bulletin files are being downloaded #26
Comments
Hi @AndrGab |
Sure.. happy to have you here |
Looked into the issue, according to mui documentation there is a So based on size of the rows array, we could set the const options = {
//...
download: rows.length ? true : 'disabled',
// ...
} Please let me know if you are fine with this approach. |
nice, I'm fine with that |
hi @dshubhadeep |
@AndrGab apologies for the delay |
Try to download a bulletin, downloads an empty file. A proper message should be displayed for a blank bulletin.
tableDownload.csv
The text was updated successfully, but these errors were encountered: