From 8700e9a9ae0f1875150458b2545367b85b4431bf Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Sat, 30 Jul 2022 14:42:31 -0700 Subject: [PATCH] Resolve production board loading issue for MAXWR. --- .../production-list-table.component.jsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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,