Skip to content

Commit

Permalink
SVYX-431 NavBar doesn't work after client reconnects
Browse files Browse the repository at this point in the history
small fix to only htat the classs added when collapsing is true (just
like ng1)
  • Loading branch information
jcompagner committed Apr 21, 2022
1 parent b1f9d4a commit e8b518e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12,7 +12,7 @@
</button>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="{{servoyApi.getMarkupId()}}-navbar-collapse" (click)="navBarClicked($event)">
<div class="{{collapsing == true ? 'collapse navbar-collapse' : '' }}" id="{{servoyApi.getMarkupId()}}-navbar-collapse" (click)="navBarClicked($event)">
<ul class="nav navbar-nav">
<ng-container *ngFor="let menuItem of menuItems;let $index = index" >
<li *ngIf="menuItem.position == 'LEFT'" class="nav-item {{menuItem.subMenuItems ? 'dropdown' : ''}} {{menuItem.isActive ? 'active' : ''}} {{menuItem.enabled == false ? 'disabled' : ''}}">
Expand Down

0 comments on commit e8b518e

Please sign in to comment.