subs filter
This commit is contained in:
parent
67daa2d157
commit
245a5d3ba0
@ -32,6 +32,13 @@ const columns: TableColumnsType<DataType> = [
|
|||||||
if (record.subSidiaries === '+') return '';
|
if (record.subSidiaries === '+') return '';
|
||||||
return record.subSidiaries;
|
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',
|
title: 'OCR extraction date',
|
||||||
|
Loading…
Reference in New Issue
Block a user