|
|
|
@ -88,6 +88,10 @@ export class LayoutService {
|
|
|
|
|
* Handle it manually in the component, it doesn't use data
|
|
|
|
|
* */
|
|
|
|
|
private rootClassSubject: BehaviorSubject<string> = new BehaviorSubject<string>(null);
|
|
|
|
|
/**
|
|
|
|
|
* Display help pop-up on non-admin pages. (default true for the rest of the pages)
|
|
|
|
|
* */
|
|
|
|
|
private hasHelpPopUpSubject: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(true);
|
|
|
|
|
private subscriptions: any[] = [];
|
|
|
|
|
|
|
|
|
|
ngOnDestroy() {
|
|
|
|
@ -343,4 +347,12 @@ export class LayoutService {
|
|
|
|
|
this.rootClassSubject.next(value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get hasHelpPopUp(): Observable<boolean> {
|
|
|
|
|
return this.hasHelpPopUpSubject.asObservable();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setHasHelpPopUp(value: boolean) {
|
|
|
|
|
this.hasHelpPopUpSubject.next(value);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|