Related box: Filter out missing items

Fixes #4427
This commit is contained in:
Abe Jellinek 2024-07-24 16:58:31 -04:00
parent 10adea71fc
commit 9a43e8f057

View file

@ -95,7 +95,7 @@ import { getCSSItemTypeIcon } from 'components/icons';
+ `for item ${this._item.libraryKey}`, 2);
}
return item;
});
}).filter(Boolean);
// Sort by display title
var collation = Zotero.getLocaleCollation();