Index: components/ProductDetailsMerchandising/ProductDetailsMerchandising.helpers.tsx =================================================================== diff -u -rc6d8017ce49dadc93f029c7529f5b7138e02dd0f -r7d841c32d774c3bb2240914806a1fed305867baa --- components/ProductDetailsMerchandising/ProductDetailsMerchandising.helpers.tsx (.../ProductDetailsMerchandising.helpers.tsx) (revision c6d8017ce49dadc93f029c7529f5b7138e02dd0f) +++ components/ProductDetailsMerchandising/ProductDetailsMerchandising.helpers.tsx (.../ProductDetailsMerchandising.helpers.tsx) (revision 7d841c32d774c3bb2240914806a1fed305867baa) @@ -93,21 +93,21 @@ - +
- +
Index: components/ProductSplitValidator/ProductValidatorTable/ProductValidatorTable.component.tsx =================================================================== diff -u -rf5a4c8974f248430d1f9cbadc7f245997c7b95d0 -r7d841c32d774c3bb2240914806a1fed305867baa --- components/ProductSplitValidator/ProductValidatorTable/ProductValidatorTable.component.tsx (.../ProductValidatorTable.component.tsx) (revision f5a4c8974f248430d1f9cbadc7f245997c7b95d0) +++ components/ProductSplitValidator/ProductValidatorTable/ProductValidatorTable.component.tsx (.../ProductValidatorTable.component.tsx) (revision 7d841c32d774c3bb2240914806a1fed305867baa) @@ -25,8 +25,8 @@ const expandedRowRenderer = (record:ISplitValidationRow) => const partColumnRenderer = (_text:any, record:ISplitValidationRow) => <> - {record.childPartNumbers.slice(0,4).join(', ') + ( record.childPartNumbers.length > 4 ? ' ... ' : ' ' )} - + {record.childPartNumbers?.slice(0,4)?.join(', ') + ( record?.childPartNumbers?.length > 4 ? ' ... ' : ' ' )} + const reasonColumnRenderer = (_text:any, record:ISplitValidationRow) => <>{reasonDisplayMap[record.reason] || record.reason}; @@ -44,11 +44,11 @@ },{ dataIndex: 'partNumbers', key: 'action', - render: (_text, record) => <>, + render: (_text, record) => <>, title: 'Action' }]; - const rowKeyGenerator = (record:ISplitValidationRow) => record.id; + const rowKeyGenerator = (record:ISplitValidationRow) => record?.id; const handleExpandedRowsChange = (expandedKeys: React.Key[]) => { onExpandRow(expandedKeys.map(key => Number(key)));