diff --git a/public/app/features/explore/GraphContainer.tsx b/public/app/features/explore/GraphContainer.tsx index e2610bcc781..c3a92f4007e 100644 --- a/public/app/features/explore/GraphContainer.tsx +++ b/public/app/features/explore/GraphContainer.tsx @@ -30,6 +30,11 @@ export class GraphContainer extends PureComponent { render() { const { exploreId, graphResult, loading, onChangeTime, showingGraph, showingTable, range, split } = this.props; const graphHeight = showingGraph && showingTable ? '200px' : '400px'; + + if (!graphResult) { + return null; + } + return ( { render() { const { loading, onClickCell, showingTable, tableResult } = this.props; + + if (!tableResult) { + return null; + } + return (