From 5b51653d78e4fdd78cd6db48531b6026cbd1c30d Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Thu, 10 Oct 2024 14:02:36 +0200 Subject: [PATCH] chore: retrieve values for all scans in getScans --- components/findings/table/ColumnsFindings.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/components/findings/table/ColumnsFindings.tsx b/components/findings/table/ColumnsFindings.tsx index c8fef32133..b27f4a6dbb 100644 --- a/components/findings/table/ColumnsFindings.tsx +++ b/components/findings/table/ColumnsFindings.tsx @@ -10,7 +10,7 @@ import { import { ColumnDef } from "@tanstack/react-table"; import { VerticalDotsIcon } from "@/components/icons"; -import { SeverityBadge, StatusBadge } from "@/components/ui/table"; +import { SeverityBadge } from "@/components/ui/table"; import { FindingProps } from "@/types"; const getFindingsAttributes = (row: { original: FindingProps }) => { @@ -34,14 +34,7 @@ export const ColumnsFindings: ColumnDef[] = [ return ; }, }, - { - accessorKey: "status", - header: "Status", - cell: ({ row }) => { - const { status } = getFindingsAttributes(row); - return ; - }, - }, + { accessorKey: "region", header: "Region",