[Library | Trunk]: Localstorage service typo fixed

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58866 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-06-05 16:29:06 +00:00
parent cd62e76fcb
commit 5efde8bc99
1 changed files with 1 additions and 2 deletions

View File

@ -21,11 +21,10 @@ export class LocalStorageService {
}
public setCommunityDirectLink(value: string) {
localStorage.setItem('communityDirectLink', value);
this.communityDirectLink.next(Boolean(value).valueOf());
}
public get(): Observable<boolean> {;
public get(): Observable<boolean> {
return this.communityDirectLink.asObservable();
}
}