Compare commits
2 Commits
544ce24fdb
...
733b64b8b0
| Author | SHA1 | Date | |
|---|---|---|---|
| 733b64b8b0 | |||
| 56d2d68fa0 |
@ -1 +1 @@
|
||||
v20260103-05-reports-date-import-fix
|
||||
v20260103-06-reports-delete-button-fix
|
||||
|
||||
@ -387,7 +387,7 @@
|
||||
openRawModal(id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
body.querySelectorAll('.rep-delete-btn').forEach(function (btn) {
|
||||
btn.addEventListener('click', function () {
|
||||
@ -395,6 +395,8 @@
|
||||
deleteReport(id, btn);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function loadReports() {
|
||||
setTableLoading('Loading…');
|
||||
fetch('/api/reports', { credentials: 'same-origin' })
|
||||
|
||||
@ -35,6 +35,14 @@
|
||||
- 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.
|
||||
|
||||
================================================================================================================================================
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user