From 1c9b909861afbc54d681218fb0fde5a4fcb74993 Mon Sep 17 00:00:00 2001 From: Alexandre Brandizzi Date: Tue, 29 Sep 2026 18:50:08 -0300 Subject: [PATCH] style(work-orders): format technician dialog state --- .../workorders/_components/list/table/cells/vendor-dialog.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 687e9218..ee055cc7 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 @@ -57,8 +57,7 @@ export function VendorDialog({ vendors, onSave, }); - const hasDraftTechnician = - form.selectedKey !== "" && form.selectedKey !== NO_TECHNICIAN_KEY; + const hasDraftTechnician = form.selectedKey !== "" && form.selectedKey !== NO_TECHNICIAN_KEY; const draftTechnician = hasDraftTechnician ? (form.selected?.name ?? form.t) : ""; const displayTechnician = frozenCompany ? frozenCompany.technicianAssigned === false