1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:05:55 +00:00

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

This commit is contained in:
Andrew Dolgov
2019-05-07 19:06:29 +03:00
parent 84d43a1b44
commit d09aad7c80

View File

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