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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user