Commit 7e5f5254 by Peter Holmberg Committed by GitHub

Dashboard: Get panels in collapsed rows (#25079)

parent 231a32c4
......@@ -154,6 +154,7 @@ export class DashboardPage extends PureComponent<Props, State> {
const { dashboard } = this.props;
const panelId = parseInt(urlPanelId!, 10);
dashboard!.expandParentRowFor(panelId);
const panel = dashboard!.getPanelById(panelId);
if (!panel) {
......@@ -170,7 +171,6 @@ export class DashboardPage extends PureComponent<Props, State> {
return;
}
dashboard!.expandParentRowFor(panelId);
callback(panel);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment