X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fui%2Fcontrol-card%2Fcontrol-card.component.ts;h=2db7ebbe3cd6cf1634f42dee15f24f0bb031e190;hb=4f8259dcd4597a7c96285907bd33941d44ac456a;hp=82ba347e0a19a3b2b4611cedde82167c8164cd2c;hpb=e2cbc4d0304646febf7e2cbe0dccdf9840189222;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/ui/control-card/control-card.component.ts b/webapp-frontend/src/app/ui/control-card/control-card.component.ts index 82ba347e..2db7ebbe 100644 --- a/webapp-frontend/src/app/ui/control-card/control-card.component.ts +++ b/webapp-frontend/src/app/ui/control-card/control-card.component.ts @@ -1,8 +1,8 @@ /*- * ========================LICENSE_START================================= - * ORAN-OSC + * O-RAN-SC * %% - * Copyright (C) 2019 AT&T Intellectual Property and Nokia + * Copyright (C) 2019 AT&T Intellectual Property * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,15 +22,14 @@ import {Router} from '@angular/router'; import {UiService} from '../../services/ui/ui.service'; @Component({ - selector: 'app-control-card', + selector: 'rd-control-card', templateUrl: './control-card.component.html', - styleUrls: ['./control-card.component.css'] + styleUrls: ['./control-card.component.scss'] }) export class ControlCardComponent implements OnInit, OnDestroy { darkMode: boolean; - constructor(public router: Router, public ui: UiService) { - } + constructor(public router: Router, public ui: UiService) { } ngOnInit() { this.ui.darkModeState.subscribe((isDark) => { @@ -38,9 +37,7 @@ export class ControlCardComponent implements OnInit, OnDestroy { }); } - ngOnDestroy() { - - } + ngOnDestroy() { } openDetails() { this.router.navigateByUrl('../../control');