File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ export class HeaderMenuNavigationComponent implements OnInit, OnDestroy {
4242 this . navBehavior . $nav
4343 . pipe ( takeUntil ( this . destroy$ ) )
4444 . subscribe ( value => {
45+ console . log ( value )
4546 if ( value ) {
4647 this . loadMenus ( ) ;
4748 }
Original file line number Diff line number Diff line change 2424 < app-utm-notification > </ app-utm-notification >
2525 </ li >
2626
27- < li *ngIf ="user && !(federationActive$ | async) " class ="nav-item ml-4 text-center ">
27+ < li *ngIf ="federationActive$ | async " class ="nav-item ml-4 text-center ">
28+ < app-federation-instance-switcher > </ app-federation-instance-switcher >
29+ </ li >
30+
31+ < li *ngIf ="user " class ="nav-item ml-4 text-center ">
2832 < app-utm-notification-user-setting > </ app-utm-notification-user-setting >
2933 </ li >
3034
3438 </ li >
3539 </ ng-container >
3640
37- < li *ngIf ="federationActive$ | async " class ="nav-item ml-4 text-center ">
38- < app-federation-instance-switcher > </ app-federation-instance-switcher >
39- </ li >
4041 </ ul >
4142 </ div >
4243
Original file line number Diff line number Diff line change @@ -20,17 +20,19 @@ <h6>S</h6>
2020 < app-utm-notification-alert > </ app-utm-notification-alert >
2121 </ li >
2222
23- < li *ngIf ="user && !(federationActive$ | async) " class ="nav-item ml-2 text-center ">
23+ < li *ngIf ="federationActive$ | async " class ="nav-item ml-2 text-center ">
24+ < app-federation-instance-switcher > </ app-federation-instance-switcher >
25+ </ li >
26+
27+ < li *ngIf ="user " class ="nav-item ml-2 text-center ">
2428 < app-utm-notification-user-setting > </ app-utm-notification-user-setting >
2529 </ li >
30+
2631 < ng-container *ngIf ="!(federationActive$ | async) ">
2732 < li *appHasAnyAuthority ="roleAdmin " class ="nav-item ml-2 text-center ">
2833 < app-utm-menu-burger > </ app-utm-menu-burger >
2934 </ li >
3035 </ ng-container >
31- < li *ngIf ="federationActive$ | async " class ="nav-item ml-2 text-center ">
32- < app-federation-instance-switcher > </ app-federation-instance-switcher >
33- </ li >
3436 </ ul >
3537 </ div >
3638 <!-- Alternative navbar -->
You can’t perform that action at this time.
0 commit comments