mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Fix panel description event triggering every time panel is rendered (#68791)
This commit is contained in:
parent
0b6c5722a5
commit
1016c81744
@ -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 =
|
const dragClass =
|
||||||
!(props.isViewing || props.isEditing) && Boolean(props.isDraggable ?? true) ? 'grid-drag-handle' : '';
|
!(props.isViewing || props.isEditing) && Boolean(props.isDraggable ?? true) ? 'grid-drag-handle' : '';
|
||||||
|
Loading…
Reference in New Issue
Block a user