summaryrefslogtreecommitdiff
path: root/lib/vendors/table/vendors-table.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vendors/table/vendors-table.tsx')
-rw-r--r--lib/vendors/table/vendors-table.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/vendors/table/vendors-table.tsx b/lib/vendors/table/vendors-table.tsx
index c04d57a9..36fd45bd 100644
--- a/lib/vendors/table/vendors-table.tsx
+++ b/lib/vendors/table/vendors-table.tsx
@@ -20,6 +20,7 @@ import { VendorsTableToolbarActions } from "./vendors-table-toolbar-actions"
import { VendorsTableFloatingBar } from "./vendors-table-floating-bar"
import { UpdateTaskSheet } from "@/lib/tasks/table/update-task-sheet"
import { UpdateVendorSheet } from "./update-vendor-sheet"
+import { getVendorStatusIcon } from "@/lib/vendors/utils"
interface VendorsTableProps {
promises: Promise<
@@ -72,9 +73,11 @@ export function VendorsTable({ promises }: VendorsTableProps) {
label: "Status",
type: "multi-select",
options: vendors.status.enumValues.map((status) => ({
- label: toSentenceCase(status),
+ label: (status),
value: status,
count: statusCounts[status],
+ icon: getVendorStatusIcon(status),
+
})),
},
{ id: "createdAt", label: "Created at", type: "date" },