diff --git a/BTCPayServer/Views/UIReports/StoreReports.cshtml b/BTCPayServer/Views/UIReports/StoreReports.cshtml index 6e6f0d0d4..2902986e5 100644 --- a/BTCPayServer/Views/UIReports/StoreReports.cshtml +++ b/BTCPayServer/Views/UIReports/StoreReports.cshtml @@ -28,7 +28,7 @@
Create fake data - +
diff --git a/BTCPayServer/wwwroot/js/store-reports.js b/BTCPayServer/wwwroot/js/store-reports.js index eabdde75c..e5644f46a 100644 --- a/BTCPayServer/wwwroot/js/store-reports.js +++ b/BTCPayServer/wwwroot/js/store-reports.js @@ -99,7 +99,7 @@ document.addEventListener("DOMContentLoaded", () => { fetchStoreReports(); }); - delegate("click", "#exportCSV", downloadCSV); + delegate("click", "[data-action='exportCSV']", downloadCSV); const $viewNameToggle = document.getElementById("ViewNameToggle") delegate("click", ".available-view", function (e) {