From da7527e38456512bbfa912b97b08ebc8e2d0903e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Wed, 25 Aug 2021 18:08:07 +0300 Subject: [PATCH] Fix intro message not getting cleared when adding new item. Closes #2158 --- chrome/content/zotero/itemTree.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/itemTree.jsx b/chrome/content/zotero/itemTree.jsx index 0cfb8860cf..97aa11b261 100644 --- a/chrome/content/zotero/itemTree.jsx +++ b/chrome/content/zotero/itemTree.jsx @@ -345,7 +345,7 @@ var ItemTree = class ItemTree extends LibraryTree { } async clearItemsPaneMessage() { - const shouldRerender = !this._itemsPaneMessage; + const shouldRerender = this._itemsPaneMessage; this._itemsPaneMessage = null; return shouldRerender && new Promise(resolve => this.forceUpdate(resolve)); }