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;h=3440482cfc0540cb46a871fe10312730c605c83f;hb=1379dce23d47c42d169ed13a337bbee827714830;hp=c3f3cb833986285132a5c60552b1b2c942ec57b8;hpb=b38f759a93759fca79cec46491639c935132d577;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 c3f3cb83..3440482c 100644 --- a/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts +++ b/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts @@ -28,11 +28,11 @@ import { ANRXappService } from '../services/anr-xapp/anr-xapp.service'; import { ErrorDialogService } from '../services/ui/error-dialog.service'; import { ConfirmDialogService } from './../services/ui/confirm-dialog.service'; import { NotificationService } from './../services/ui/notification.service'; -import { ANREditNCRDialogComponent } from './anr-edit-ncr-dialog.component'; +import { AnrEditNcrDialogComponent } from './anr-edit-ncr-dialog.component'; import { ANRXappDataSource } from './anr-xapp.datasource'; @Component({ - selector: 'app-anr', + selector: 'rd-anr', templateUrl: './anr-xapp.component.html', styleUrls: ['./anr-xapp.component.scss'] }) @@ -41,10 +41,10 @@ export class AnrXappComponent implements AfterViewInit, OnInit { dataSource: ANRXappDataSource; anrClientVersion: string; gNodeBIds: string[]; - @ViewChild('ggNodeB') ggNodeB: ElementRef; - @ViewChild('servingCellNrcgi') servingCellNrcgi: ElementRef; - @ViewChild('neighborCellNrpci') neighborCellNrpci: ElementRef; - @ViewChild(MatSort) sort: MatSort; + @ViewChild('ggNodeB', {static: true}) ggNodeB: ElementRef; + @ViewChild('servingCellNrcgi', {static: true}) servingCellNrcgi: ElementRef; + @ViewChild('neighborCellNrpci', {static: true}) neighborCellNrpci: ElementRef; + @ViewChild(MatSort, {static: true}) sort: MatSort; displayedColumns = ['cellIdentifierNrcgi', 'neighborCellNrpci', 'neighborCellNrcgi', 'flagNoHo', 'flagNoXn', 'flagNoRemove', 'action']; @@ -94,7 +94,7 @@ export class AnrXappComponent implements AfterViewInit, OnInit { } modifyNcr(ncr: ANRNeighborCellRelation): void { - const dialogRef = this.dialog.open(ANREditNCRDialogComponent, { + const dialogRef = this.dialog.open(AnrEditNcrDialogComponent, { width: '300px', data: ncr });