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=4d016dc92a169835f1ab9b043b32b2775817ff6c;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..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 @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * 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');