summaryrefslogtreecommitdiffstats
path: root/templates/part.showall.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.showall.php')
-rw-r--r--templates/part.showall.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.showall.php b/templates/part.showall.php
index a99e821ee..404950986 100644
--- a/templates/part.showall.php
+++ b/templates/part.showall.php
@@ -1,7 +1,7 @@
-<li ui-if="!feedBl.isShowAll() && subscriptionsBl.isVisible(0)" class="show-all">
+<li ui-if="!feedBl.isShowAll() && feedBl.getNumberOfFeeds() > 0" class="show-all">
<a ng-click="feedBl.setShowAll(true)" href="#"><?php p($l->t('Show all')); ?></a>
</li>
-<li ui-if="feedBl.isShowAll() && subscriptionsBl.isVisible(0)" class="show-all">
+<li ui-if="feedBl.isShowAll() && feedBl.getNumberOfFeeds() > 0" class="show-all">
<a ng-click="feedBl.setShowAll(false)" href="#"><?php p($l->t('Show only unread')); ?></a>
</li>