when there are no rows in the table, no file is downloaded and this error appears in the console:
Alpine Error: "TypeError: Cannot convert undefined or null to object"
Expression: "downloadTableAsCsv"
...
Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Proxy.downloadTableAsCsv
when there are no rows in the table, no file is downloaded and this error appears in the console: