Move relay action items to top of page

This commit is contained in:
Jon Staab
2026-03-19 12:41:23 -07:00
parent 1f5be54cb1
commit f9c7ed4936
7 changed files with 142 additions and 158 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
const back = () => history.back()
const onDelete = () => {
const onResolved = () => {
if ($reports.size === 0) {
back()
}
@@ -40,7 +40,7 @@
<ModalSubtitle>All reports for this event are shown below.</ModalSubtitle>
</ModalHeader>
{#each $reports.values() as report (report.id)}
<ReportItem {url} event={report} {onDelete} />
<ReportItem {url} event={report} {onResolved} />
{/each}
</ModalBody>
<ModalFooter>