From 7e5f52547399da9584a1664d6fbff8a9e9ed4ed9 Mon Sep 17 00:00:00 2001 From: Peter Holmberg Date: Tue, 26 May 2020 08:56:21 +0200 Subject: [PATCH] Dashboard: Get panels in collapsed rows (#25079) --- public/app/features/dashboard/containers/DashboardPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/containers/DashboardPage.tsx b/public/app/features/dashboard/containers/DashboardPage.tsx index 36158cc4d67..03bf51af8ae 100644 --- a/public/app/features/dashboard/containers/DashboardPage.tsx +++ b/public/app/features/dashboard/containers/DashboardPage.tsx @@ -154,6 +154,7 @@ export class DashboardPage extends PureComponent { 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 { return; } - dashboard!.expandParentRowFor(panelId); callback(panel); }