diff --git a/src/app/(protected)/workorders/_components/list/table/wo-table-inline-row-cells.tsx b/src/app/(protected)/workorders/_components/list/table/wo-table-inline-row-cells.tsx index 9fce0888..78e8edac 100644 --- a/src/app/(protected)/workorders/_components/list/table/wo-table-inline-row-cells.tsx +++ b/src/app/(protected)/workorders/_components/list/table/wo-table-inline-row-cells.tsx @@ -28,6 +28,24 @@ type WoTableInlineRowCellsProps = { onPatch: (patch: Partial) => void; }; +function InlineTypeSeverityCell({ + draft, + onPatch, +}: { + draft: WorkOrderTableDraft; + onPatch: (patch: Partial) => void; +}) { + return ( + + onPatch({ type: t, severity: sev })} + /> + + ); +} + export function WoTableInlineRowCells({ draft, weekDefault, @@ -77,13 +95,7 @@ export function WoTableInlineRowCells({ /> - - onPatch({ type: t, severity: sev })} - /> - +