DynamicDashboards: Fixes issue with data links not working (#100974)

* DynamicDashboards: Fixes issue with data links not working

* Update

* Update public/app/features/dashboard-scene/edit-pane/DashboardEditPaneSplitter.tsx

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>

* simplify fix

---------

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
pull/100998/head^2
Torkel Ödegaard 5 months ago committed by GitHub
parent 3992ac2ac1
commit 5a0dbf3b4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      public/app/features/dashboard-scene/edit-pane/DashboardEditPane.tsx

@ -109,6 +109,11 @@ export class DashboardEditPane extends SceneObjectBase<DashboardEditPaneState> {
public clearSelection() {
const dashboard = getDashboardSceneFor(this);
if (this.state.selection?.getFirstObject() === dashboard) {
return;
}
this.setState({
selection: new ElementSelection([[dashboard.state.uid!, dashboard.getRef()]]),
selectionContext: {

Loading…
Cancel
Save