(value: string)
| 84 | } |
| 85 | } |
| 86 | const handleSelectEndChange = (value: string) => { |
| 87 | if (value === 'All Records') { |
| 88 | setContentList(retrievalList) |
| 89 | } else { |
| 90 | const data = retrievalList.filter((item: any) => retrievalSelectedList.map((item1: any) => item1[id]).includes(item[id])) |
| 91 | setContentList(data) |
| 92 | } |
| 93 | } |
| 94 | const fetchSearchData = async (value: any) => { |
| 95 | setContentLoading(true) |
| 96 | const res: any = await getRetrievalList(value) |