Navigate to report status page on table click

This commit is contained in:
Eli Ribble 2026-02-05 01:31:16 +00:00
parent d58a893651
commit f301feb537
No known key found for this signature in database
2 changed files with 21 additions and 1 deletions

View file

@ -133,6 +133,10 @@ function onLoad() {
console.log("location error", error);
})
});
const report_table = document.querySelector('report-table');
report_table.addEventListener("row-clicked", (e) => {
window.location = "/status/" + e.detail.reportId;
})
}
document.addEventListener('DOMContentLoaded', onLoad);