MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / handleSelectEndChange

Function handleSelectEndChange

frontend/src/components/modalSelect/index.tsx:86–93  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected