contentTop -> baContentTop

This commit is contained in:
nixa 2016-05-18 17:04:35 +03:00
parent 1224cf17db
commit e125febda6
7 changed files with 11 additions and 10 deletions

View file

@ -1,20 +0,0 @@
import {Component} from '@angular/core';
import {AppState} from "../../../app.state";
@Component({
selector: 'content-top',
styles: [require('./contentTop.scss')],
template: require('./contentTop.html'),
})
export class ContentTop {
activePageTitle = '';
constructor(private _state:AppState) {
this._state.subscribe('menu.activeLink', (activeLink) => {
if (activeLink) {
this.activePageTitle = activeLink.title;
}
});
}
}