mirror of https://github.com/akveo/blur-admin
fix fixedHref on sidebar root menus when using blank: true
parent
1f81f3b1c1
commit
f07e3b7563
|
@ -57,6 +57,12 @@
|
|||
}]
|
||||
}]
|
||||
});
|
||||
|
||||
baSidebarServiceProvider.addStaticItem({
|
||||
title: 'blank call sample',
|
||||
fixedHref: 'reg.html',
|
||||
blank: true
|
||||
});
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
ng-class="::{'with-sub-menu': item.subMenu}" ui-sref-active="selected"
|
||||
ba-sidebar-toggling-item="item">
|
||||
|
||||
<a ng-mouseenter="hoverItem($event, item)" ui-state="item.stateRef || ''" ng-href="{{::(item.fixedHref ? item.fixedHref: '')}}" ng-if="::!item.subMenu" class="al-sidebar-list-link">
|
||||
<a ng-mouseenter="hoverItem($event, item)" ui-state="item.stateRef || ''" ng-href="{{::(item.fixedHref ? item.fixedHref: '')}}" ng-if="::!item.subMenu" class="al-sidebar-list-link" target="{{::(item.blank ? '_blank' : '_self')}}">
|
||||
<i class="{{ ::item.icon }}"></i><span>{{ ::item.title }}</span>
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue