From caac984345cadcfc2496e4f730182fd95d8c24d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Mon, 25 Feb 2019 12:21:26 +0200 Subject: [PATCH] Fix this.collectionTreeRow undefined errors in tag selector --- chrome/content/zotero/containers/tagSelector.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/containers/tagSelector.jsx b/chrome/content/zotero/containers/tagSelector.jsx index 098a3a0e09..e6d4197fd6 100644 --- a/chrome/content/zotero/containers/tagSelector.jsx +++ b/chrome/content/zotero/containers/tagSelector.jsx @@ -59,7 +59,7 @@ Zotero.TagSelector = class TagSelectorContainer extends React.Component { } // Ignore anything other than deletes in duplicates view - if (this.collectionTreeRow.isDuplicates()) { + if (this.collectionTreeRow && this.collectionTreeRow.isDuplicates()) { switch (event) { case 'delete': case 'trash':