From 534ca297072f89dd28c5c9b3024f136a79658b12 Mon Sep 17 00:00:00 2001 From: Dominik Prokop Date: Fri, 20 Oct 2023 17:18:14 +0200 Subject: [PATCH] Fix scenes runtime error for legacy angular panels (#76883) --- public/app/angular/panel/AngularPanelReactWrapper.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/angular/panel/AngularPanelReactWrapper.tsx b/public/app/angular/panel/AngularPanelReactWrapper.tsx index a994b5b0a20..c05a467163b 100644 --- a/public/app/angular/panel/AngularPanelReactWrapper.tsx +++ b/public/app/angular/panel/AngularPanelReactWrapper.tsx @@ -3,6 +3,7 @@ import { Observable, ReplaySubject } from 'rxjs'; import { EventBusSrv, PanelData, PanelPlugin, PanelProps, FieldConfigSource } from '@grafana/data'; import { AngularComponent, getAngularLoader, RefreshEvent } from '@grafana/runtime'; +import { getDashboardSrv } from 'app/features/dashboard/services/DashboardSrv'; import { DashboardModelCompatibilityWrapper } from 'app/features/dashboard-scene/utils/DashboardModelCompatibilityWrapper'; import { GetDataOptions } from 'app/features/query/state/PanelQueryRunner'; import { RenderEvent } from 'app/types/events';