Ensure notifications are only fetched and shown for at least admins
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
<li ng-show="user.isAtLeastUserManager">
|
||||
<a ng-class="{ active: isActive('/users')}" href="#/users"><i class="fa fa-users fa-fw"></i> {{ 'users.title' | tr }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<li ng-show="user.isAtLeastAdmin">
|
||||
<a href="#/notifications">
|
||||
<i class="fas fa-bell" ng-show="notificationCount"></i>
|
||||
<i class="far fa-bell" ng-hide="notificationCount"></i>
|
||||
|
||||
Reference in New Issue
Block a user