|
|
|
@ -113,10 +113,10 @@ export function Panel({ width, height, timeRange, eventBus }: Props) {
|
|
|
|
|
}, [dashboard, datasources]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
// if (tasks === null) {
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
const dataFrame = getDataFrameForTaskTable([]); |
|
|
|
|
if (tasks === null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
const dataFrame = getDataFrameForTaskTable(tasks); |
|
|
|
|
setTasksDataFrame(dataFrame); |
|
|
|
|
}, [tasks]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
|
|
|
|
|
|
|
|