fix(work-orders): coerce null company vendor for add-technician prop

This commit is contained in:
arthur.bassi 2026-08-03 14:48:12 -03:00
parent 4fe4ce8465
commit 73821f452d

View file

@ -142,7 +142,7 @@ export function VendorDialog({
selectedKey={selectedKey}
technicianOptions={technicianOptions}
anchorCompanyName={anchorCompanyName}
companyVendorForAdd={companyVendor}
companyVendorForAdd={companyVendor ?? undefined}
tech={t}
phone={phone}
notes={notes}