Fix item PDF not opening on double click in tree
This commit is contained in:
parent
9c7f28b126
commit
7265393be9
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
handleActivate = (event, indices) => {
|
||||
// Ignore double-clicks in duplicates view on everything except attachments
|
||||
let items = indices.map(index => this.getRow(index).ref);
|
||||
if (event.button == 0 && this.collectionTreeRow.isDuplicates) {
|
||||
if (event.button == 0 && this.collectionTreeRow.isDuplicates()) {
|
||||
if (items.length != 1 || !items[0].isAttachment()) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue