From ba188996ec1c9afba789b106b0fcb5c06d9b1cc1 Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 1 Sep 2026 12:07:20 +0800 Subject: [PATCH] application remove blank line --- src/pages/PublicNotice/Search_GLD/DataGrid.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/PublicNotice/Search_GLD/DataGrid.js b/src/pages/PublicNotice/Search_GLD/DataGrid.js index d00ca7dc..2214ab3a 100644 --- a/src/pages/PublicNotice/Search_GLD/DataGrid.js +++ b/src/pages/PublicNotice/Search_GLD/DataGrid.js @@ -137,8 +137,14 @@ export default function SearchPublicNoticeTable({ searchCriteria, applyGridOnRea company = company + ": " + params.row.custName } let paymentMethod = params.row.paymentMethod!=null?intl.formatMessage({ id: utils.getPaymentMethod(params.row.paymentMethod)}):"" + const lines = [params?.value, company, paymentMethod].filter(line => line != null && line !== ""); return (<> - {params?.value}
{company}
{paymentMethod} + {lines.map((line, index) => ( + + {index > 0 &&
} + {line} +
+ ))} ); } },