diff --git a/public/app/features/explore/QueryRows.tsx b/public/app/features/explore/QueryRows.tsx index c5b29238c78..4b5a16ef781 100644 --- a/public/app/features/explore/QueryRows.tsx +++ b/public/app/features/explore/QueryRows.tsx @@ -20,8 +20,8 @@ export default class QueryRows extends PureComponent { const { className = '', exploreEvents, exploreId, queryKeys } = this.props; return (
- {queryKeys.map((_, index) => { - return ; + {queryKeys.map((key, index) => { + return ; })}
); diff --git a/public/app/features/explore/state/reducers.ts b/public/app/features/explore/state/reducers.ts index aa3d194eba8..e3bf248952c 100644 --- a/public/app/features/explore/state/reducers.ts +++ b/public/app/features/explore/state/reducers.ts @@ -302,6 +302,7 @@ export const itemReducer = (state: ExploreItemState = makeExploreItemState(), ac latency: 0, queryResponse: createEmptyQueryResponse(), loading: false, + queryKeys: [], supportedModes, mode: mode ?? newMode, originPanelId: state.urlState && state.urlState.originPanelId,