mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-07 18:18:50 +01:00
contentTop -> baContentTop
This commit is contained in:
parent
1224cf17db
commit
e125febda6
7 changed files with 11 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue