wip:ScanValid badge

This commit is contained in:
2023-04-12 20:40:04 +02:00
parent 4b171fd04f
commit bd4952ee57
2 changed files with 25 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
import TableActions from "../shared/TableActions.svelte";
import { runnerFilter } from "../shared/tablefilters";
import CardRunner from "../cards/CardRunner.svelte";
import ScanValid from "./ScanValid.svelte";
$: selectedScans =
$table?.getSelectedRowModel().rows.map((row) => row.original) || [];
@@ -106,6 +107,14 @@
},
enableColumnFilter: true,
},
{
accessorKey: "valid",
cell: (info) => {
return renderComponent(ScanValid, { valid: info.getValue() });
},
header: () => $_("status"),
filterFn: `includesString`,
},
{
accessorKey: "actions",
header: () => $_("action"),