X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fanr-xapp%2Fanr-xapp.component.ts;fp=webapp-frontend%2Fsrc%2Fapp%2Fanr-xapp%2Fanr-xapp.component.ts;h=ba240714687b860012971cdff3ca38b1721f97db;hb=226fd436a085f717d4cbf81bf1719bdaf1468414;hp=3440482cfc0540cb46a871fe10312730c605c83f;hpb=baba2efde0ab32026b1d13941dcc9e9dc95dc640;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts b/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts index 3440482c..ba240714 100644 --- a/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts +++ b/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts @@ -39,7 +39,6 @@ import { ANRXappDataSource } from './anr-xapp.datasource'; export class AnrXappComponent implements AfterViewInit, OnInit { dataSource: ANRXappDataSource; - anrClientVersion: string; gNodeBIds: string[]; @ViewChild('ggNodeB', {static: true}) ggNodeB: ElementRef; @ViewChild('servingCellNrcgi', {static: true}) servingCellNrcgi: ElementRef; @@ -57,11 +56,10 @@ export class AnrXappComponent implements AfterViewInit, OnInit { private notificationService: NotificationService) { } ngOnInit() { - this.dataSource = new ANRXappDataSource(this.anrXappService, this.sort); + this.dataSource = new ANRXappDataSource(this.anrXappService, this.sort, this.notificationService); this.dataSource.loadTable(); // Empty string occurs first in the array of gNodeBIds this.anrXappService.getgNodeBs().subscribe((res: string[]) => this.gNodeBIds = res); - this.anrXappService.getVersion().subscribe((res: string) => this.anrClientVersion = res); } ngAfterViewInit() {