MCPcopy Index your code
hub / github.com/codingapi/springboot-framework / reloadTable

Function reloadTable

admin-ui/src/pages/flow/record/index.tsx:174–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172
173
174 const reloadTable = ()=>{
175 if (key === 'todo') {
176 todoActionRef.current?.reload();
177 }
178 if (key === 'done') {
179 doneActionRef.current?.reload();
180 }
181 if (key === 'initiated') {
182 initiatedActionRef.current?.reload();
183 }
184 if (key === 'timeoutTodo') {
185 timeoutTodoActionRef.current?.reload();
186 }
187 if (key === 'postponedTodo') {
188 postponedTodoActionRef.current?.reload();
189 }
190 if (key === 'all') {
191 allTodoActionRef.current?.reload();
192 }
193 }
194
195 useEffect(() => {
196 reloadTable();

Callers 2

handlerUrgeFlowFunction · 0.85
FlowRecordPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected