From 348083d2872540554fa18ede8c7b64dcf9dc23a9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 15 Apr 2023 05:40:54 -0400 Subject: [PATCH] Refresh Feeds row when feed unread count is updated Regression from fd744fb526 --- chrome/content/zotero/collectionTree.jsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome/content/zotero/collectionTree.jsx b/chrome/content/zotero/collectionTree.jsx index 7ad9f425cb..e1633654c6 100644 --- a/chrome/content/zotero/collectionTree.jsx +++ b/chrome/content/zotero/collectionTree.jsx @@ -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; }