From 095381648b20da5ccbfd3d5e5b211cc84fc25c0d Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:47:35 +0300 Subject: [PATCH] [v11.2.x] Fix deps on panel options (#93655) Fix deps on panel options (#93647) (cherry picked from commit 764ec264c8a9c06456674c6ddad947b05a8d2a0b) Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com> --- public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx b/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx index 3778f882a2c..ff86e7c80e1 100644 --- a/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx +++ b/public/app/features/dashboard-scene/panel-edit/PanelOptions.tsx @@ -46,7 +46,7 @@ export const PanelOptions = React.memo(({ vizManager, searchQuery, listMo instanceState: _pluginInstanceState, }); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [panel, options, fieldConfig, _pluginInstanceState]); + }, [data, panel, options, fieldConfig, _pluginInstanceState]); const libraryPanelOptions = useMemo(() => { if (parent instanceof LibraryVizPanel) {