Update ba-sidebar.html

disabled subMenu items will display proper title
pull/99/head
Paweł Stefański 2016-06-29 16:48:33 +02:00 committed by GitHub
parent 4014e7d12f
commit 7507a4e0f1
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
ba-ui-sref-toggling-submenu>
<li ng-mouseenter="hoverItem($event, item)" ng-repeat="subSubitem in ::subitem.subMenu" ui-sref-active="selected">
<a ng-mouseenter="hoverItem($event, item)" href ng-if="::subSubitem.disabled" class="al-sidebar-list-link">
{{ ::item.title }}
{{ ::subSubitem.title }}
</a>
<a ng-mouseenter="hoverItem($event, item)"
ui-state="subSubitem.stateRef || ''"
@ -56,4 +56,4 @@
</ul>
<div class="sidebar-hover-elem" ng-style="{top: hoverElemTop + 'px', height: hoverElemHeight + 'px'}"
ng-class="{'show-hover-elem': showHoverElem }"></div>
</aside>
</aside>