Refresh Feeds row when feed unread count is updated
Regression from fd744fb526
This commit is contained in:
parent
2397940292
commit
348083d287
1 changed files with 6 additions and 0 deletions
|
@ -640,10 +640,16 @@ var CollectionTree = class CollectionTree extends LibraryTree {
|
|||
return;
|
||||
}
|
||||
if (type == 'feed' && (action == 'unreadCountUpdated' || action == 'statusChanged')) {
|
||||
// Refresh the feed
|
||||
let feedRow = this.getRowIndexByID("L" + ids[0]);
|
||||
if (feedRow !== false) {
|
||||
this.tree.invalidateRow(feedRow);
|
||||
}
|
||||
// Refresh the Feeds row
|
||||
let feedsRow = this.getRowIndexByID("F1");
|
||||
if (feedsRow !== false) {
|
||||
this.tree.invalidateRow(feedsRow);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue