Prevent blank sheets with Laravel Excel
I'm implementing Excel download on my app using Laravel Excel. It works well except that it creates an empty sheet if the query finds no data. Is there any way to prevent this? This is the code for the sheets:…