mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
Explore: Fix remounting of query row (#29771)
* Use passed data source in init * Dummy commit
This commit is contained in:
parent
edbde6c06b
commit
f7ebb10dc5
@ -272,6 +272,7 @@ export const paneReducer = (state: ExploreItemState = makeExplorePaneState(), ac
|
||||
|
||||
if (initializeExploreAction.match(action)) {
|
||||
const { containerWidth, eventBridge, queries, range, originPanelId, datasourceInstance, history } = action.payload;
|
||||
|
||||
return {
|
||||
...state,
|
||||
containerWidth,
|
||||
@ -279,7 +280,7 @@ export const paneReducer = (state: ExploreItemState = makeExplorePaneState(), ac
|
||||
range,
|
||||
queries,
|
||||
initialized: true,
|
||||
queryKeys: getQueryKeys(queries, state.datasourceInstance),
|
||||
queryKeys: getQueryKeys(queries, datasourceInstance),
|
||||
originPanelId,
|
||||
update: makeInitialUpdateState(),
|
||||
datasourceInstance,
|
||||
|
Loading…
Reference in New Issue
Block a user