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

Function refresh

packages/ui/src/ui-component/dialog/ViewMessagesDialog.jsx:219–236  ·  view source on GitHub ↗
(page, limit, startDate, endDate, chatTypes, feedbackTypes)

Source from the content-addressed store, hash-verified

217 }
218
219 const refresh = (page, limit, startDate, endDate, chatTypes, feedbackTypes) => {
220 getChatmessageApi.request(dialogProps.chatflow.id, {
221 chatType: chatTypes.length ? chatTypes : undefined,
222 feedbackType: feedbackTypes.length ? feedbackTypes : undefined,
223 startDate: startDate,
224 endDate: endDate,
225 order: 'DESC',
226 page: page,
227 limit: limit
228 })
229 getStatsApi.request(dialogProps.chatflow.id, {
230 chatType: chatTypes.length ? chatTypes : undefined,
231 feedbackType: feedbackTypes.length ? feedbackTypes : undefined,
232 startDate: startDate,
233 endDate: endDate
234 })
235 setCurrentPage(page)
236 }
237
238 const onStartDateSelected = (date) => {
239 const updatedDate = new Date(date)

Callers 7

onChangeFunction · 0.70
onStartDateSelectedFunction · 0.70
onEndDateSelectedFunction · 0.70
onChatTypeSelectedFunction · 0.70
onFeedbackTypeSelectedFunction · 0.70
deleteMessagesFunction · 0.70
ViewMessagesDialogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected