Compare commits

..

No commits in common. "733b64b8b027132898813a0375bfb5abf9b282f2" and "544ce24fdbef6028ad0e06f0683b075a03a06d4b" have entirely different histories.

3 changed files with 2 additions and 12 deletions

View File

@ -1 +1 @@
v20260103-06-reports-delete-button-fix
v20260103-05-reports-date-import-fix

View File

@ -387,7 +387,7 @@
openRawModal(id);
});
});
}
body.querySelectorAll('.rep-delete-btn').forEach(function (btn) {
btn.addEventListener('click', function () {
@ -395,8 +395,6 @@
deleteReport(id, btn);
});
});
}
function loadReports() {
setTableLoading('Loading…');
fetch('/api/reports', { credentials: 'same-origin' })

View File

@ -35,14 +35,6 @@
- Fixed a crash on the Reports page caused by missing datetime imports.
- Added the required `date` and `timedelta` imports to prevent a NameError when determining the default report period.
---
## v20260103-06-reports-delete-button-fix
- Fixed an issue where the Delete button on the Reports page did not perform any action.
- Resolved a JavaScript block/brace error that prevented the delete handler from executing.
- Ensured the DELETE API call is correctly triggered and the reports list is refreshed after deletion.
- Restored correct CSS classes for the server-rendered Delete button to ensure proper binding.
================================================================================================================================================