Rename component selectors to use prefix "rd"
[portal/ric-dashboard.git] / webapp-frontend / src / app / catalog / catalog.component.ts
index 2c1aa85..5781480 100644 (file)
@@ -27,7 +27,7 @@ import { NotificationService } from './../services/ui/notification.service';
 import { CatalogDataSource } from './catalog.datasource';
 
 @Component({
-  selector: 'app-catalog',
+  selector: 'rd-app-catalog',
   templateUrl: './catalog.component.html',
   styleUrls: ['./catalog.component.css'],
 })
@@ -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,