diff --git a/client/src/components/production-list-table/production-list-table.component.jsx b/client/src/components/production-list-table/production-list-table.component.jsx index a42ed413d..6595476d5 100644 --- a/client/src/components/production-list-table/production-list-table.component.jsx +++ b/client/src/components/production-list-table/production-list-table.component.jsx @@ -238,10 +238,8 @@ export function ProductionListTable({ sticky pagination={false} size="small" - className="production-list-table" - onRow={ - Production_List_Status_Colors.treatment === "on" && - ((record, index) => { + {...(Production_List_Status_Colors.treatment === "on" && { + onRow: (record, index) => { if (!bodyshop.md_ro_statuses.production_colors) return null; const color = bodyshop.md_ro_statuses.production_colors.find( @@ -255,8 +253,8 @@ export function ProductionListTable({ backgroundColor: `rgb(${color.color.r},${color.color.g},${color.color.b},${color.color.a})`, }, }; - }) - } + }, + })} components={{ header: { cell: ResizeableTitle,