Fix selectItem() on first items row (regression from d5334dc483
)
This commit is contained in:
parent
c04f5c28a2
commit
ae98488d2b
1 changed files with 1 additions and 1 deletions
|
@ -1892,7 +1892,7 @@ Zotero.ItemTreeView.prototype.selectItems = async function (ids, noRecurse) {
|
|||
var rowsToSelect = [];
|
||||
for (let id of idsToSelect) {
|
||||
let row = this._rowMap[id];
|
||||
if (!row) {
|
||||
if (row === undefined) {
|
||||
Zotero.debug(`Item ${id} not in row map -- skipping`);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue