This commit is contained in:
Eugene Pankov
2017-04-20 22:33:55 +02:00
parent d909c4a791
commit 82e0a9238d
4 changed files with 14 additions and 10 deletions

View File

@@ -44,6 +44,9 @@ export class AppService {
}
selectTab (tab: BaseTabComponent) {
if (this.activeTab == tab) {
return
}
if (this.tabs.includes(this.activeTab)) {
this.lastTabIndex = this.tabs.indexOf(this.activeTab)
} else {