From 180f0dac6b371a6128cd7a4ecaa3e1cdc11a0bd8 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 22 May 2023 16:12:45 +0200 Subject: [PATCH] [v9.5.x] Dashboard: Fix panel description event triggering every time panel is rendered (#68830) Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com> Fix panel description event triggering every time panel is rendered (#68791) --- public/app/features/dashboard/utils/getPanelChromeProps.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/utils/getPanelChromeProps.tsx b/public/app/features/dashboard/utils/getPanelChromeProps.tsx index 3bc8c3c865e..725f11b50b7 100644 --- a/public/app/features/dashboard/utils/getPanelChromeProps.tsx +++ b/public/app/features/dashboard/utils/getPanelChromeProps.tsx @@ -98,7 +98,7 @@ export function getPanelChromeProps(props: CommonProps) { /> ); - const description = props.panel.description ? onShowPanelDescription() : undefined; + const description = props.panel.description ? onShowPanelDescription : undefined; const dragClass = !(props.isViewing || props.isEditing) ? 'grid-drag-handle' : '';