diff --git a/mediarepo-ui/src/app/components/core/core.component.ts b/mediarepo-ui/src/app/components/core/core.component.ts index c24484a..a6036b9 100644 --- a/mediarepo-ui/src/app/components/core/core.component.ts +++ b/mediarepo-ui/src/app/components/core/core.component.ts @@ -45,6 +45,8 @@ export class CoreComponent { this.appState = state; if (this.appState.tabs.value.length === 0) { this.addTab(); + } else { + this.tabGroup.selectedIndex = 1; } state.tabs.subscribe(tabs => { this.tabs = tabs;