|
|
|
@ -499,7 +499,7 @@ export function Panel({ width, height, timeRange, eventBus, timeZone }: Props) {
|
|
|
|
|
); |
|
|
|
|
const mainDiv = ( |
|
|
|
|
<div> |
|
|
|
|
<Table width={width} height={height - 40} data={tasksDataFrame as DataFrame} /> |
|
|
|
|
{tasksDataFrame && <Table width={width} height={height - 40} data={tasksDataFrame as DataFrame} />} |
|
|
|
|
<HorizontalGroup justify="flex-end"> |
|
|
|
|
<Button variant="primary" icon="plus" style={{ marginTop: '8px' }} onClick={openDatasourceModal}> |
|
|
|
|
Add Task |
|
|
|
|