MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / onChange

Function onChange

packages/ui/src/views/chatflows/index.jsx:52–57  ·  view source on GitHub ↗
(page, pageLimit)

Source from the content-addressed store, hash-verified

50 const [total, setTotal] = useState(0)
51
52 const onChange = (page, pageLimit) => {
53 setCurrentPage(page)
54 setPageLimit(pageLimit)
55 localStorage.setItem('chatFlowPageSize', pageLimit)
56 applyFilters(page, pageLimit)
57 }
58
59 const applyFilters = (page, limit) => {
60 const params = {

Callers

nothing calls this directly

Calls 1

applyFiltersFunction · 0.70

Tested by

no test coverage detected