Dashboard: Get panels in collapsed rows (#25079)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user