mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 03:23:12 +00:00
style(work-orders): format technician dialog state
This commit is contained in:
parent
bfdc2dbdec
commit
1c9b909861
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue