This commit is contained in:
David Lebee
2021-07-29 17:12:21 -04:00
parent 99bcbf45ed
commit 2972b38a1a
3 changed files with 41 additions and 32 deletions
+5
View File
@@ -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() {