feat(FE): Join array fields into comma-separated strings

This commit is contained in:
rstubryan
2026-01-14 22:28:45 +07:00
parent f1dba4012a
commit 427c8aec34
2 changed files with 12 additions and 4 deletions
@@ -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 || '-';
},
},
{