Compare commits
No commits in common. "733b64b8b027132898813a0375bfb5abf9b282f2" and "544ce24fdbef6028ad0e06f0683b075a03a06d4b" have entirely different histories.
733b64b8b0
...
544ce24fdb
@ -1 +1 @@
|
|||||||
v20260103-06-reports-delete-button-fix
|
v20260103-05-reports-date-import-fix
|
||||||
|
|||||||
@ -387,7 +387,7 @@
|
|||||||
openRawModal(id);
|
openRawModal(id);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
body.querySelectorAll('.rep-delete-btn').forEach(function (btn) {
|
body.querySelectorAll('.rep-delete-btn').forEach(function (btn) {
|
||||||
btn.addEventListener('click', function () {
|
btn.addEventListener('click', function () {
|
||||||
@ -395,8 +395,6 @@
|
|||||||
deleteReport(id, btn);
|
deleteReport(id, btn);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
function loadReports() {
|
function loadReports() {
|
||||||
setTableLoading('Loading…');
|
setTableLoading('Loading…');
|
||||||
fetch('/api/reports', { credentials: 'same-origin' })
|
fetch('/api/reports', { credentials: 'same-origin' })
|
||||||
|
|||||||
@ -35,14 +35,6 @@
|
|||||||
- Fixed a crash on the Reports page caused by missing datetime imports.
|
- 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.
|
- 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.
|
|
||||||
|
|
||||||
================================================================================================================================================
|
================================================================================================================================================
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user