summaryrefslogtreecommitdiffstats
path: root/templates/part.navigation.unreadfeed.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.navigation.unreadfeed.php')
-rw-r--r--templates/part.navigation.unreadfeed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.navigation.unreadfeed.php b/templates/part.navigation.unreadfeed.php
index 9c9f3c293..2f6bff1bb 100644
--- a/templates/part.navigation.unreadfeed.php
+++ b/templates/part.navigation.unreadfeed.php
@@ -1,6 +1,6 @@
<li ng-class="{
active: Navigation.isSubscriptionsActive(),
- unread: Navigation.getUnreadCount() > 0
+ unread: Navigation.isUnread()
}"
class="subscriptions-feed with-counter with-menu">
@@ -12,10 +12,10 @@
<?php p($l->t('All articles'))?>
</a>
- <div class="app-navigation-entry-utils" ng-show="Navigation.getUnreadCount() > 0">
+ <div class="app-navigation-entry-utils" ng-show="Navigation.isUnread()">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="Navigation.getUnreadCount() > 0"
+ ng-show="Navigation.isUnread()"
title="{{ Navigation.getUnreadCount() }}">
{{ Navigation.getUnreadCount() | unreadCountFormatter }}
</li>