Browse Source

fix read categories not being hidden when hide read feeds is enabled

Andrew Dolgov 2 months ago
parent
commit
d09aad7c80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/FeedTree.js

+ 1 - 1
js/FeedTree.js

@@ -353,7 +353,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
 					if (node) {
 						const check_unread = tree.model.getFeedUnread(bare_id, true);
 
-						if (hide && cat_unread <= 0 && check_unread == 0 && (id != "CAT:-1" || !show_special)) {
+						if (hide && cat_unread <= 0 && check_unread <= 0 && (id != "CAT:-1" || !show_special)) {
 							Effect.Fade(node[0].rowNode, {duration : 0.3,
 								queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }});
 						} else {