MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / handleSearch

Function handleSearch

frontend/src/components/modalSelect/index.tsx:74–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 setInputValue(e.target.value)
73 }
74 const handleSearch = () => {
75 const params = {
76 limit: 20,
77 offset: 0,
78 id_search: inputValue
79 }
80 if (id === 'collection_id') {
81 fetchSearchData(params)
82 } else {
83 fetchActionData(params)
84 }
85 }
86 const handleSelectEndChange = (value: string) => {
87 if (value === 'All Records') {
88 setContentList(retrievalList)

Callers

nothing calls this directly

Calls 2

fetchSearchDataFunction · 0.85
fetchActionDataFunction · 0.70

Tested by

no test coverage detected