v20
This commit is contained in:
@@ -75,6 +75,11 @@ export class AppComponent implements OnInit {
|
||||
this.dataSource.data$.subscribe(newData => {
|
||||
this.latestData = newData;
|
||||
});
|
||||
|
||||
this.dataSource.notifyMessage$.subscribe(message => {
|
||||
if (message.type == 'error')
|
||||
alert(message.message);
|
||||
});
|
||||
}
|
||||
|
||||
refresh() {
|
||||
|
||||
Reference in New Issue
Block a user