From 245a5d3ba0f97599a214302a081e52f6638ef16e Mon Sep 17 00:00:00 2001 From: Vu Khanh Du Date: Fri, 2 Feb 2024 17:19:17 +0700 Subject: [PATCH] subs filter --- .../src/components/report-detail/report-overview-table.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cope2n-fe/src/components/report-detail/report-overview-table.tsx b/cope2n-fe/src/components/report-detail/report-overview-table.tsx index 7d79d9e..fa411c8 100644 --- a/cope2n-fe/src/components/report-detail/report-overview-table.tsx +++ b/cope2n-fe/src/components/report-detail/report-overview-table.tsx @@ -32,6 +32,13 @@ const columns: TableColumnsType = [ if (record.subSidiaries === '+') return ''; return record.subSidiaries; }, + filters: [ + { text: 'all', value: 'all' }, + { text: 'sesp', value: 'sesp' }, + { text: 'seau', value: 'seau' }, + ], + filterMode: 'menu', + onFilter: (value: string, record) => record.subSidiaries.includes(value), }, { title: 'OCR extraction date',