From d1761606fb3f1c698e597276ec0e0f1fa0e14f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=A4ggmark?= Date: Wed, 10 Dec 2025 06:44:46 +0100 Subject: [PATCH] Plugins: Add PluginContext to plugins when scenes is disabled (#114989) Plugins: Add PluginContext to plugins when scenes is disabled --- .../dashboard/dashgrid/PanelStateWrapper.tsx | 45 ++++++++++--------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/public/app/features/dashboard/dashgrid/PanelStateWrapper.tsx b/public/app/features/dashboard/dashgrid/PanelStateWrapper.tsx index 20c702edd8b..7087c9c611c 100644 --- a/public/app/features/dashboard/dashgrid/PanelStateWrapper.tsx +++ b/public/app/features/dashboard/dashgrid/PanelStateWrapper.tsx @@ -17,6 +17,7 @@ import { PanelData, PanelPlugin, PanelPluginMeta, + PluginContextProvider, SetPanelAttentionEvent, TimeRange, toDataFrameDTO, @@ -524,27 +525,29 @@ export class PanelStateWrapper extends PureComponent { return ( <> - - {this.state.errorMessage === undefined && ( - - )} + + + {this.state.errorMessage === undefined && ( + + )} + );