Merged in release/2022-07-29 (pull request #553)

Resolve production board loading issue for MAXWR.

Approved-by: Patrick Fic
This commit is contained in:
Patrick Fic
2022-07-30 21:42:56 +00:00

View File

@@ -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,