Dashboard: Fix panel description event triggering every time panel is rendered (#68791)
This commit is contained in:
1 parent
0b6c5722a5
commit
1016c81744
1 file changed
+1
-1
@@ -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