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

Function refreshData

packages/ui/src/views/auth/loginActivity.jsx:116–129  ·  view source on GitHub ↗
(_page, _start, _end, _filter)

Source from the content-addressed store, hash-verified

114 }
115
116 const refreshData = (_page, _start, _end, _filter) => {
117 const activityCodes = []
118 if (_filter.length > 0) {
119 _filter.forEach((type) => {
120 activityCodes.push(getActivityCode(type))
121 })
122 }
123 getLoginActivityApi.request({
124 pageNo: _page,
125 startDate: _start,
126 endDate: _end,
127 activityCodes: activityCodes
128 })
129 }
130
131 const changePage = (newPage) => {
132 setLoading(true)

Callers 4

onStartDateSelectedFunction · 0.85
onEndDateSelectedFunction · 0.85
changePageFunction · 0.85
handleTypeFilterChangeFunction · 0.85

Calls 1

getActivityCodeFunction · 0.85

Tested by

no test coverage detected