const csvGenerator = {

}

export default csvGenerator;
@@ -16,16 +16,253 @@
 tor = %7B%0A
+%09init() %7B%0A%09%09const downloadCsvBtnEl = document.querySelector(%22.js-download-csv-btn%22);%0A%09%09if (downloadCsvBtnEl) %7B%0A      downloadCsvBtnEl.addEventListener(%22click%22, e =%3E %7B%0A      %09window.open(window.location.href, '_blank');%0A      %7D);%0A    %7D%0A%09%7D
 %0A%7D%0A%0Aexpo

Handle download csv button click