From bab9fc01ea127c17403f14b34d9e0d8a30d94626 Mon Sep 17 00:00:00 2001 From: Abbie Petchtes Date: Tue, 6 Mar 2018 10:27:24 -0800 Subject: [PATCH] focus on the first tab in the nav section by default (#823) --- .../parts/dashboard/containers/dashboardNavSection.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/parts/dashboard/containers/dashboardNavSection.component.ts b/src/sql/parts/dashboard/containers/dashboardNavSection.component.ts index d5c338e8d2..175a703f59 100644 --- a/src/sql/parts/dashboard/containers/dashboardNavSection.component.ts +++ b/src/sql/parts/dashboard/containers/dashboardNavSection.component.ts @@ -116,7 +116,7 @@ export class DashboardNavSection extends DashboardTab implements OnDestroy, OnCh // put this immediately on the stack so that is ran *after* the tab is rendered setTimeout(() => { - this._panel.selectTab(selectedTabs.pop().id); + this._panel.selectTab(selectedTabs[0].id); }); } }