Upgrade Angular and Spring-Boot
[portal/ric-dashboard.git] / webapp-frontend / src / app / catalog / catalog.component.ts
index 2c1aa85..f22b09f 100644 (file)
@@ -35,7 +35,7 @@ export class CatalogComponent implements OnInit {
 
   displayedColumns: string[] = ['name', 'version', 'action'];
   dataSource: CatalogDataSource;
-  @ViewChild(MatSort) sort: MatSort;
+  @ViewChild(MatSort, {static: true}) sort: MatSort;
 
   constructor(
     private appMgrSvc: AppMgrService,