|
|
@ -35,7 +35,7 @@ export function Panel({ options, data, width, height, timeRange, onChangeTimeRan |
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
// TODO: move this function to Network Service
|
|
|
|
// TODO: move this function to Network Service
|
|
|
|
async function getTasks(): Promise<TableRowConfig[]> { |
|
|
|
async function getTasks(): Promise<TableRowConfig[]> { |
|
|
|
return makeRequest<TableRowConfig[]>('/tasks', {}); |
|
|
|
return makeRequest<TableRowConfig[]>('/task', {}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
getTasks() |
|
|
|
getTasks() |
|
|
|