summaryrefslogtreecommitdiffstats
path: root/js/public/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/public/app.js')
-rw-r--r--js/public/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/public/app.js b/js/public/app.js
index 99c4ab419..87ea8c288 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -1379,7 +1379,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
FolderBusinessLayer.prototype.isVisible = function(folderId) {
var feed, _i, _len, _ref;
- if (this._showAll.getShowAll() || this._feedBusinessLayer.noFeeds()) {
+ if (this._showAll.getShowAll() || this._feedBusinessLayer.getFeedsOfFolder(folderId).length === 0) {
return true;
} else {
if (this.isActive(folderId) || this._feedBusinessLayer.getFolderUnreadCount(folderId) > 0) {