(layouts) Use navigation service data for horizontal navigation

This commit is contained in:
sercan 2021-06-10 10:13:43 +03:00
parent bafa9adc01
commit 39650d3cc9
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@
<fuse-horizontal-navigation <fuse-horizontal-navigation
class="mr-2" class="mr-2"
[name]="'mainNavigation'" [name]="'mainNavigation'"
[navigation]="data.navigation.horizontal"></fuse-horizontal-navigation> [navigation]="navigation.horizontal"></fuse-horizontal-navigation>
</ng-container> </ng-container>
<!-- Navigation toggle button --> <!-- Navigation toggle button -->
<ng-container *ngIf="isScreenSmall"> <ng-container *ngIf="isScreenSmall">

View File

@ -63,7 +63,7 @@
<fuse-horizontal-navigation <fuse-horizontal-navigation
class="-mx-4" class="-mx-4"
[name]="'mainNavigation'" [name]="'mainNavigation'"
[navigation]="data.navigation.horizontal"></fuse-horizontal-navigation> [navigation]="navigation.horizontal"></fuse-horizontal-navigation>
</div> </div>
</div> </div>
</ng-container> </ng-container>

View File

@ -66,7 +66,7 @@
<div class="relative flex flex-auto flex-0 items-center h-16 px-4"> <div class="relative flex flex-auto flex-0 items-center h-16 px-4">
<fuse-horizontal-navigation <fuse-horizontal-navigation
[name]="'mainNavigation'" [name]="'mainNavigation'"
[navigation]="data.navigation.horizontal"></fuse-horizontal-navigation> [navigation]="navigation.horizontal"></fuse-horizontal-navigation>
</div> </div>
</ng-container> </ng-container>
</div> </div>

View File

@ -43,7 +43,7 @@
<fuse-horizontal-navigation <fuse-horizontal-navigation
class="mr-2" class="mr-2"
[name]="'mainNavigation'" [name]="'mainNavigation'"
[navigation]="data.navigation.horizontal"></fuse-horizontal-navigation> [navigation]="navigation.horizontal"></fuse-horizontal-navigation>
</ng-container> </ng-container>
<!-- Navigation toggle button --> <!-- Navigation toggle button -->
<ng-container *ngIf="isScreenSmall"> <ng-container *ngIf="isScreenSmall">