Explore: Avoid sending panelId header unless we are in a dashboard (#88255)

pull/89325/head
Ryan McKinley 1 year ago committed by GitHub
parent 5f83fdef2c
commit ea7f6ea32f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/grafana-runtime/src/utils/DataSourceWithBackend.ts

@ -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…
Cancel
Save