proper toggle of the side menu

This commit is contained in:
Denys Vuika
2023-02-11 13:43:28 -05:00
committed by Sheena Malhotra
parent 475c4f401a
commit b915f3e750
15 changed files with 75 additions and 94 deletions

View File

@@ -0,0 +1,18 @@
<adf-layout-header
[logo]="logo$ | async"
[redirectUrl]="landingPage"
[tooltip]="appName$ | async"
[title]="appName$ | async"
(clicked)="onToggleSidenav($event)"
[expandedSidenav]="isSidenavExpanded"
>
<div class="adf-toolbar--spacer adf-toolbar-divider"></div>
<aca-search-input *ngIf="isContentServiceEnabled()"></aca-search-input>
<adf-toolbar-divider></adf-toolbar-divider>
<ng-container *ngFor="let actionRef of actions; trackBy: trackByActionId">
<aca-toolbar-action [actionRef]="actionRef"> </aca-toolbar-action>
</ng-container>
</adf-layout-header>

View File

@@ -33,6 +33,7 @@ import { takeUntil } from 'rxjs/operators';
import { AppConfigService, SidenavLayoutComponent } from '@alfresco/adf-core';
import { isContentServiceEnabled } from '@alfresco/aca-shared/rules';
/** @deprecated */
@Component({
selector: 'app-header',
templateUrl: './header.component.html',