msgCenter -> baMsgCenter

This commit is contained in:
nixa 2016-05-18 17:11:27 +03:00
parent e125febda6
commit 12a1056c12
9 changed files with 41 additions and 17 deletions

View file

@ -0,0 +1,23 @@
import {Component} from '@angular/core';
import {BaMsgCenterService} from './baMsgCenter.service';
import {BaProfilePicturePipe} from '../../pipes';
@Component({
selector: 'msg-center',
providers: [BaMsgCenterService],
styles: [require('./baMsgCenter.scss')],
template: require('./baMsgCenter.html'),
pipes: [BaProfilePicturePipe]
})
export class BaMsgCenter {
public notifications:Array<Object>;
public messages:Array<Object>;
constructor(private _baMsgCenterService:BaMsgCenterService) {
this.notifications = this._baMsgCenterService.getNotifications();
this.messages = this._baMsgCenterService.getMessages();
}
}