Skip to content

Commit

Permalink
fix(components): add notification and message count from array length (
Browse files Browse the repository at this point in the history
  • Loading branch information
susovan87 authored and lexzhukov committed Apr 12, 2017
1 parent 2f5d5c3 commit a8fe3f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/theme/components/baMsgCenter/baMsgCenter.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul class="al-msg-center clearfix">
<li class="dropdown">
<a href class="dropdown-toggle" id="msg-dd1" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-bell-o"></i><span>5</span>
<i class="fa fa-bell-o"></i><span>{{ notifications.length }}</span>

<div class="notification-ring"></div>
</a>
Expand Down Expand Up @@ -29,7 +29,7 @@
</li>
<li class="dropdown">
<a href class="msg dropdown-toggle" id="msg-dd2" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-envelope-o"></i><span>5</span>
<i class="fa fa-envelope-o"></i><span>{{ messages.length }}</span>
<div class="notification-ring"></div>
</a>
<div class="top-dropdown-menu dropdown-menu" aria-labelledby="msg-dd2">
Expand Down

0 comments on commit a8fe3f1

Please sign in to comment.