Don't show access error removing Duplicates view from read-only library
This commit is contained in:
parent
f425850764
commit
de696d32e8
1 changed files with 1 additions and 0 deletions
|
@ -1519,6 +1519,7 @@ var ZoteroPane = new function()
|
|||
// Remove virtual duplicates collection
|
||||
if (itemGroup.isDuplicates()) {
|
||||
this.setVirtual(itemGroup.ref.libraryID, 'duplicates', false);
|
||||
return;
|
||||
}
|
||||
// Remove virtual unfiled collection
|
||||
else if (itemGroup.isUnfiled()) {
|
||||
|
|
Loading…
Reference in a new issue