Browse Source

return tassks

pull/9/head
vargburz 2 years ago
parent
commit
29d7c5393c
  1. 8
      src/panels/corpglory-dataexporter-panel/components/Panel.tsx

8
src/panels/corpglory-dataexporter-panel/components/Panel.tsx

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

Loading…
Cancel
Save