From e21236b55ef71ae52dcb7bc0117e036bc19ee7be Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 22 May 2023 16:11:36 +0200 Subject: [PATCH] [v10.0.x] Dashboard: Fix panel description event triggering every time panel is rendered (#68831) 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 32e4b6528d9..21ec9e72296 100644 --- a/public/app/features/dashboard/utils/getPanelChromeProps.tsx +++ b/public/app/features/dashboard/utils/getPanelChromeProps.tsx @@ -99,7 +99,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) && Boolean(props.isDraggable ?? true) ? 'grid-drag-handle' : '';