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

master
Andrew Dolgov 5 years ago
parent 84d43a1b44
commit d09aad7c80

@ -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 {

Loading…
Cancel
Save