Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
RIC Configuration from UI
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
footer
/
footer.component.ts
diff --git
a/webapp-frontend/src/app/footer/footer.component.ts
b/webapp-frontend/src/app/footer/footer.component.ts
index
47e768e
..
9ef1873
100644
(file)
--- 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';
* ========================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';
+import { UiService } from '@services/ui/ui.service';
@Component({
@Component({
- selector: '
rd
-footer',
+ selector: '
nrcp
-footer',
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.scss']
})
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.scss']
})
@@
-38,12
+36,10
@@
export class FooterComponent implements OnInit {
controlpanelVersion: string;
// Inject the service
controlpanelVersion: string;
// Inject the service
- constructor(private controlpanelService: ControlpanelService,
- private ui: UiService) { }
+ constructor(private ui: UiService) { }
ngOnInit() {
this.controlpanelVersion = '0.0';
ngOnInit() {
this.controlpanelVersion = '0.0';
- // this.controlpanelService.getVersion().subscribe((res: ControlpanelSuccessTransport) => this.controlpanelVersion = res.data);
this.ui.darkModeState.subscribe((isDark) => {
this.darkMode = isDark;
});
this.ui.darkModeState.subscribe((isDark) => {
this.darkMode = isDark;
});