Upgrade Angular and Spring-Boot
[portal/ric-dashboard.git] / webapp-frontend / src / app / anr-xapp / anr-xapp.component.ts
index c3f3cb8..02b1f3f 100644 (file)
@@ -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'];