If we have more than 100 notifications, indicate this with a 100+ label

This commit is contained in:
Johannes Zellner
2022-05-23 17:27:45 +02:00
parent 575e00b24b
commit 6a6b1d8b3b
+1 -1
View File
@@ -169,7 +169,7 @@
<a href="#/notifications">
<i class="fas fa-bell" ng-show="notificationCount"></i>
<i class="far fa-bell" ng-hide="notificationCount"></i>
<span class="badge badge-danger" ng-show="notificationCount">{{ notificationCount }}</span>
<span class="badge badge-danger" ng-show="notificationCount">{{ notificationCount === 100 ? '100+' : notificationCount }}</span>
</a>
</li>
<li class="dropdown">