X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=webapp-frontend%2Fsrc%2Fapp%2Fui%2Fcontrol-card%2Fcontrol-card.component.ts;h=e8599bca1e000ad4cc53f4cb33b8dfc3e7115015;hb=1379dce23d47c42d169ed13a337bbee827714830;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..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 @@ -1,15 +1,15 @@ /*- * ========================LICENSE_START================================= - * ORAN-OSC + * O-RAN-SC * %% * Copyright (C) 2019 AT&T Intellectual Property and Nokia * %% * 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');