mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
feat(FE): Join array fields into comma-separated strings
This commit is contained in:
@@ -356,7 +356,7 @@ const CustomerPaymentTab = () => {
|
||||
enableSorting: false,
|
||||
cell: (props) => {
|
||||
const value = props.row.original.vehicle_numbers;
|
||||
return value || '-';
|
||||
return Array.isArray(value) ? value.join(', ') : value || '-';
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -520,7 +520,7 @@ const CustomerPaymentTab = () => {
|
||||
enableSorting: false,
|
||||
cell: (props) => {
|
||||
const value = props.row.original.pickup_info;
|
||||
return value || '-';
|
||||
return Array.isArray(value) ? value.join(', ') : value || '-';
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user