X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fui%2Fui.service.ts;h=c475f1dc605d98b2230370c17f0282cce0f8228f;hb=64b35796309259667d0dac6f9cdc2ad00bca53ee;hp=30f92d092c2c33d384ddd4b28009a8166f6c066c;hpb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/services/ui/ui.service.ts b/webapp-frontend/src/app/services/ui/ui.service.ts index 30f92d0..c475f1d 100644 --- a/webapp-frontend/src/app/services/ui/ui.service.ts +++ b/webapp-frontend/src/app/services/ui/ui.service.ts @@ -3,6 +3,7 @@ * O-RAN-SC * %% * Copyright (C) 2019 AT&T Intellectual Property + * Modifications Copyright (C) 2021 Nordix Foundation * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,15 +19,16 @@ * ========================LICENSE_END=================================== */ import { Injectable } from '@angular/core'; -import { BehaviorSubject } from 'rxjs'; +import { BehaviorSubject, Observable } from 'rxjs'; @Injectable() export class UiService { darkModeState: BehaviorSubject; + expanded: Observable; constructor() { - // TODO: if the user is signed in get the default value from Firebase this.darkModeState = new BehaviorSubject(true); + this.expanded = new Observable(); } }