|
|
|
@ -38,10 +38,7 @@ export function Panel({ options, data, width, height, timeRange, onChangeTimeRan
|
|
|
|
|
return makeRequest<TableRowConfig[]>('/tasks', {}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
|
|
|
|
getTasks().then(tasks => setTasks(tasks)).catch(err => console.error(err)); |
|
|
|
|
}, 2000); |
|
|
|
|
getTasks().then(tasks => setTasks(tasks)).catch(err => console.error(err)); |
|
|
|
|
}, []); |
|
|
|
|
|
|
|
|
|
function onAddTaskClick(): void { |
|
|
|
|