Data export view gives error if 0 records I have a data export option on a view.  however , if the filter has not chosen any records, the excel export gives an error.  Is there anyway to disable the data export icon if no records have been chosen, or other wise avoid this error?

thanks
This has been transitioned to https://www.drupal.org/node/2576429 per the request of Mołot.