tabs syntax fix

This commit is contained in:
Roman Hotsiy 2015-12-13 12:38:39 +02:00
parent 6b4c7e44e3
commit 4a3d44a9a8

View File

@ -29,7 +29,7 @@ export class Tabs {
tab.active = true;
}
addTab(tab: Tab) {
addTab(tab) {
if (this.tabs.length === 0) {
tab.active = true;
}