mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-10 11:38:50 +01:00
msgCenter -> baMsgCenter
This commit is contained in:
parent
e125febda6
commit
12a1056c12
9 changed files with 41 additions and 17 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue