Navigate to report status page on table click
This commit is contained in:
parent
d58a893651
commit
f301feb537
2 changed files with 21 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue