[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:
parent
cd62e76fcb
commit
5efde8bc99
|
@ -21,11 +21,10 @@ export class LocalStorageService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public setCommunityDirectLink(value: string) {
|
public setCommunityDirectLink(value: string) {
|
||||||
localStorage.setItem('communityDirectLink', value);
|
|
||||||
this.communityDirectLink.next(Boolean(value).valueOf());
|
this.communityDirectLink.next(Boolean(value).valueOf());
|
||||||
}
|
}
|
||||||
|
|
||||||
public get(): Observable<boolean> {;
|
public get(): Observable<boolean> {
|
||||||
return this.communityDirectLink.asObservable();
|
return this.communityDirectLink.asObservable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue