[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)
This commit is contained in:
@@ -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' : '';
|
||||
|
||||
Reference in New Issue
Block a user