Canvas: Clear current selection in dashboard mode (#56830)

This commit is contained in:
Adela Almasan
2022-10-12 16:18:56 -05:00
committed by GitHub
parent 004bb7689d
commit 254bb0c99e

View File

@@ -74,6 +74,7 @@ export class CanvasPanel extends Component<Props, State> {
this.props.eventBus.subscribe(PanelEditExitedEvent, (evt: PanelEditExitedEvent) => {
if (this.props.id === evt.payload) {
this.needsReload = true;
this.scene.clearCurrentSelection();
this.scene.load(
this.props.options.root,
this.props.options.inlineEditing,