Skip to content

Commit

Permalink
restore sidenav functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Jul 12, 2023
1 parent 1963747 commit 6422c32
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/aca-shared/src/lib/services/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { Inject, Injectable, OnDestroy } from '@angular/core';
import { AuthenticationService, AppConfigService, AlfrescoApiService, PageTitleService } from '@alfresco/adf-core';
import { AuthenticationService, AppConfigService, AlfrescoApiService, PageTitleService, UserPreferencesService } from '@alfresco/adf-core';
import { Observable, BehaviorSubject, Subject } from 'rxjs';
import { GroupService, SearchQueryBuilderService, SharedLinksApiService, UploadService, FileUploadErrorEvent } from '@alfresco/adf-content-services';
import { OverlayContainer } from '@angular/cdk/overlay';
Expand Down Expand Up @@ -61,6 +61,9 @@ export class AppService implements OnDestroy {
appNavNarMode$: Subject<'collapsed' | 'expanded'> = new BehaviorSubject('expanded');
toggleAppNavBar$ = new Subject();

hideSidenavConditions = ['/preview/'];
minimizeSidenavConditions = ['search'];

onDestroy$ = new Subject<boolean>();

/**
Expand All @@ -72,6 +75,7 @@ export class AppService implements OnDestroy {
}

constructor(
public preferencesService: UserPreferencesService,
private authenticationService: AuthenticationService,
private store: Store<AppStore>,
private router: Router,
Expand Down

0 comments on commit 6422c32

Please sign in to comment.