mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove deprecated dashboardId from panel query runner (#64786)
This commit is contained in:
@@ -146,7 +146,6 @@ describe('PanelEditorTableView', () => {
|
||||
|
||||
// panel queries should have the updated time range
|
||||
expect(props.panel.runAllPanelQueries).toHaveBeenNthCalledWith(1, {
|
||||
dashboardId: props.dashboard.id,
|
||||
dashboardTimezone: '',
|
||||
dashboardUID: props.dashboard.uid,
|
||||
timeData: timeRangeUpdated,
|
||||
@@ -167,7 +166,6 @@ describe('PanelEditorTableView', () => {
|
||||
|
||||
// panel queries should have the updated time range
|
||||
expect(props.panel.runAllPanelQueries).toHaveBeenLastCalledWith({
|
||||
dashboardId: props.dashboard.id,
|
||||
dashboardTimezone: '',
|
||||
dashboardUID: props.dashboard.uid,
|
||||
timeData: timeRangeUpdated2,
|
||||
|
||||
@@ -34,7 +34,6 @@ export function PanelEditorTableView({ width, height, panel, dashboard }: Props)
|
||||
const sub = panel.events.subscribe(RefreshEvent, () => {
|
||||
const timeData = applyPanelTimeOverrides(panel, timeSrv.timeRange());
|
||||
panel.runAllPanelQueries({
|
||||
dashboardId: dashboard.id,
|
||||
dashboardUID: dashboard.uid,
|
||||
dashboardTimezone: dashboard.getTimezone(),
|
||||
timeData,
|
||||
|
||||
Reference in New Issue
Block a user