MCPcopy
hub / github.com/FlowiseAI/Flowise / onChange

Function onChange

packages/ui/src/ui-component/dialog/ViewMessagesDialog.jsx:214–217  ·  view source on GitHub ↗
(event, page)

Source from the content-addressed store, hash-verified

212 const [pageLimit, setPageLimit] = useState(10)
213 const [total, setTotal] = useState(0)
214 const onChange = (event, page) => {
215 setCurrentPage(page)
216 refresh(page, pageLimit, startDate, endDate, chatTypeFilter, feedbackTypeFilter)
217 }
218
219 const refresh = (page, limit, startDate, endDate, chatTypes, feedbackTypes) => {
220 getChatmessageApi.request(dialogProps.chatflow.id, {

Callers 15

FormatPromptValuesDialogFunction · 0.70
CheckboxInputFunction · 0.50
SwitchInputFunction · 0.50
toggleFunction · 0.50
toggleFunction · 0.50
handleChangeFunction · 0.50
handleChangeFunction · 0.50
DataGridFunction · 0.50
handleProcessRowUpdateFunction · 0.50
handleSliderChangeFunction · 0.50
handleInputChangeFunction · 0.50
handleBlurFunction · 0.50

Calls 1

refreshFunction · 0.70

Tested by

no test coverage detected