mirror of https://github.com/grafana/grafana.git
Explore: Avoid sending panelId header unless we are in a dashboard (#88255)
This commit is contained in:
parent
5f83fdef2c
commit
ea7f6ea32f
|
@ -231,10 +231,10 @@ class DataSourceWithBackend<
|
|||
|
||||
if (request.dashboardUID) {
|
||||
headers[PluginRequestHeaders.DashboardUID] = request.dashboardUID;
|
||||
}
|
||||
if (request.panelId) {
|
||||
headers[PluginRequestHeaders.PanelID] = `${request.panelId}`;
|
||||
}
|
||||
}
|
||||
if (request.panelPluginId) {
|
||||
headers[PluginRequestHeaders.PanelPluginId] = `${request.panelPluginId}`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue