mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Get panels in collapsed rows (#25079)
This commit is contained in:
parent
231a32c4a3
commit
7e5f525473
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user