Files
dspace-angular/src/themes/dspace/app/navbar/navbar.component.html
Andrea Barbasso 4a4c01b80b [DSC-1847][DSC-1966] fix navbar ui error
(cherry picked from commit 49b329edb1)
2025-05-09 17:33:37 +00:00

10 lines
597 B
HTML

<ng-container *ngIf="(isMobile$ | async) && (isAuthenticated$ | async)">
<ds-user-menu [inExpandableNavbar]="true"></ds-user-menu>
</ng-container>
<div class="navbar-nav flex-shrink-1 h-100 align-items-md-stretch gapx-3" role="menubar" id="main-site-navigation" [ngClass]="(isMobile$ | async) ? 'navbar-nav-mobile' : 'navbar-nav-desktop'">
<ng-container *ngFor="let section of (sections | async)">
<ng-container
*ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container>
</ng-container>
</div>