mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
Reports: Fix export (#6357)
Regression from the translation PRs, in which the proper button ID was replaced. Fixes #6356.
This commit is contained in:
parent
8a5a160645
commit
225264a283
@ -28,7 +28,7 @@
|
||||
</h2>
|
||||
<div>
|
||||
<a cheat-mode="true" class="btn btn-outline-info text-nowrap" asp-action="StoreReports" asp-route-fakeData="true" asp-route-viewName="@Model.Request?.ViewName">Create fake data</a>
|
||||
<button id="page-primary" class="btn btn-primary text-nowrap" type="button">Export</button>
|
||||
<button id="page-primary" class="btn btn-primary text-nowrap" type="button" data-action="exportCSV">Export</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-sm-row align-items-center gap-3 mb-l">
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user