From 7a5c17d61388d201d49c3feb875e2f2887259c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 1 May 2024 11:17:48 +0200 Subject: [PATCH] DashboardScene: Fixes issue with panel edit options pane and data (#87161) --- .../features/dashboard-scene/panel-edit/PanelOptionsPane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/panel-edit/PanelOptionsPane.tsx b/public/app/features/dashboard-scene/panel-edit/PanelOptionsPane.tsx index a5b67dcf473..8e7673e4db7 100644 --- a/public/app/features/dashboard-scene/panel-edit/PanelOptionsPane.tsx +++ b/public/app/features/dashboard-scene/panel-edit/PanelOptionsPane.tsx @@ -44,7 +44,7 @@ export class PanelOptionsPane extends SceneObjectBase { const { isVizPickerOpen, searchQuery, listMode } = model.useState(); const vizManager = sceneGraph.getAncestor(model, PanelEditor).state.vizManager; const { pluginId } = vizManager.state.panel.useState(); - const { data } = sceneGraph.getData(vizManager).useState(); + const { data } = sceneGraph.getData(vizManager.state.panel).useState(); const styles = useStyles2(getStyles); return (