mirror of
https://github.com/zotero/zotero.git
synced 2026-09-17 23:51:18 +00:00
Exclude unmergeable types by name, not by ID (#2137)
Excluding by ID obscured which types were being excluded. IDs drifted and we ended up blacklisting artwork and encyclopediaArticle.
This commit is contained in:
parent
0e2073b251
commit
5bfdeb36ca
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ var Zotero_Duplicates_Pane = new function () {
|
|||
otherItems.push(item);
|
||||
}
|
||||
|
||||
if (!item.isRegularItem() || [1,14].indexOf(item.itemTypeID) != -1) {
|
||||
if (!item.isRegularItem() || ['annotation', 'attachment', 'note'].includes(item.itemType)) {
|
||||
var msg = Zotero.getString('pane.item.duplicates.onlyTopLevel');
|
||||
ZoteroPane_Local.setItemPaneMessage(msg);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue