[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)
This commit is contained in:
Grot (@grafanabot)
2023-05-22 16:12:45 +02:00
committed by GitHub
parent 8a8d1e6ff2
commit 180f0dac6b
@@ -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' : '';