refactor: split delete event into two

This commit is contained in:
izzy
2026-01-13 14:56:44 +00:00
parent 69b2e36a38
commit 1c73f7f433
4 changed files with 12 additions and 31 deletions
@@ -16,7 +16,7 @@
const { Download, Delete } = $derived(getIntegrityReportItemActions($t, id, reportType));
function onIntegrityReportDelete({
function onIntegrityReportDeleteStatus({
id: reportId,
type,
isDeleting,
@@ -31,7 +31,7 @@
}
</script>
<OnEvents {onIntegrityReportDelete} />
<OnEvents {onIntegrityReportDeleteStatus} />
<TableRow>
<TableCell class="w-7/8 text-left px-4">{path}</TableCell>