Fix this.collectionTreeRow undefined errors in tag selector
This commit is contained in:
parent
891524b4ed
commit
caac984345
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue