Chore: Remove deprecated dashboardId from panel query runner (#64786)

This commit is contained in:
Ryan McKinley
2023-04-14 16:50:10 -07:00
committed by GitHub
parent d43482a463
commit 39c04a8e36
27 changed files with 17 additions and 43 deletions

View File

@@ -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,

View File

@@ -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,