@dereekb/dbx-web 7.0.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1977,7 +1977,7 @@ class DbxSidenavPageComponent {
|
|
|
1977
1977
|
constructor(parent) {
|
|
1978
1978
|
this.parent = parent;
|
|
1979
1979
|
this._mobileOnly = new BehaviorSubject(false);
|
|
1980
|
-
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly ? this.parent.mode$.pipe(map((x) => x !== SideNavDisplayMode.MOBILE)) : of(
|
|
1980
|
+
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly ? this.parent.mode$.pipe(map((x) => x !== SideNavDisplayMode.MOBILE)) : of(false))), shareReplay(1));
|
|
1981
1981
|
}
|
|
1982
1982
|
ngOnDestroy() {
|
|
1983
1983
|
this._mobileOnly.complete();
|