focus on the first tab in the nav section by default (#823)

This commit is contained in:
Abbie Petchtes
2018-03-06 10:27:24 -08:00
committed by GitHub
parent 692ed02df8
commit bab9fc01ea

View File

@@ -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);
});
}
}