X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Ffooter%2Ffooter.component.ts;h=dd57545e210e6ec5804f76d3313e0be98eafa405;hb=8ce8fccb49a3c082c9fde5f20335af8e85b41584;hp=47e768eb05954a542eb1ca23d9903a0c4a0a53c5;hpb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/footer/footer.component.ts b/webapp-frontend/src/app/footer/footer.component.ts index 47e768e..dd57545 100644 --- a/webapp-frontend/src/app/footer/footer.component.ts +++ b/webapp-frontend/src/app/footer/footer.component.ts @@ -20,12 +20,10 @@ * ========================LICENSE_END=================================== */ import { Component, OnInit } from '@angular/core'; -import { ControlpanelSuccessTransport } from '../interfaces/controlpanel.types'; -import { ControlpanelService } from '../services/controlpanel/controlpanel.service'; import { UiService } from '../services/ui/ui.service'; @Component({ - selector: 'rd-footer', + selector: 'nrcp-footer', templateUrl: './footer.component.html', styleUrls: ['./footer.component.scss'] }) @@ -38,12 +36,10 @@ export class FooterComponent implements OnInit { controlpanelVersion: string; // Inject the service - constructor(private controlpanelService: ControlpanelService, - private ui: UiService) { } + constructor(private ui: UiService) { } ngOnInit() { this.controlpanelVersion = '0.0'; - // this.controlpanelService.getVersion().subscribe((res: ControlpanelSuccessTransport) => this.controlpanelVersion = res.data); this.ui.darkModeState.subscribe((isDark) => { this.darkMode = isDark; });