Add check for ogBootServicesStatus in getServices method to prevent errors
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
a125252be9
commit
f004de1ebd
|
@ -64,6 +64,9 @@ export class GlobalStatusComponent implements OnInit {
|
|||
}
|
||||
|
||||
getServices(): { name: string, status: string }[] {
|
||||
if (!this.ogBootServicesStatus) {
|
||||
return [];
|
||||
}
|
||||
return Object.keys(this.ogBootServicesStatus).map(key => ({
|
||||
name: key,
|
||||
status: this.ogBootServicesStatus[key]
|
||||
|
|
Loading…
Reference in New Issue