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=e8599bca1e000ad4cc53f4cb33b8dfc3e7115015;hb=1379dce23d47c42d169ed13a337bbee827714830;hp=04c4fb850cab228c087b24d7805ac5831fbc8e2b;hpb=be7a01eda7e4fb9f97a18009d727e6a0692e9399;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 04c4fb85..e8599bca 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 @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -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'] }) 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');