From 73821f452d39f8b198964a7f53921d09ebac47f6 Mon Sep 17 00:00:00 2001 From: "arthur.bassi" Date: Mon, 3 Aug 2026 14:48:12 -0300 Subject: [PATCH] fix(work-orders): coerce null company vendor for add-technician prop --- .../workorders/_components/list/table/cells/vendor-dialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(protected)/workorders/_components/list/table/cells/vendor-dialog.tsx b/src/app/(protected)/workorders/_components/list/table/cells/vendor-dialog.tsx index 01ad0905..5504e5bf 100644 --- a/src/app/(protected)/workorders/_components/list/table/cells/vendor-dialog.tsx +++ b/src/app/(protected)/workorders/_components/list/table/cells/vendor-dialog.tsx @@ -142,7 +142,7 @@ export function VendorDialog({ selectedKey={selectedKey} technicianOptions={technicianOptions} anchorCompanyName={anchorCompanyName} - companyVendorForAdd={companyVendor} + companyVendorForAdd={companyVendor ?? undefined} tech={t} phone={phone} notes={notes}