fix(components): add notification and message count from array length (#893)

This commit is contained in:
Susovan Ghosh 2017-04-12 21:16:01 +05:30 committed by Lex Zhukov
parent 2f5d5c31db
commit a8fe3f1ed8

View file

@ -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>
@ -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">