Fix error from retractions notifier handler on group modification
This commit is contained in:
parent
d0f976f6bd
commit
aba37b31e4
1 changed files with 5 additions and 3 deletions
|
@ -326,9 +326,11 @@ Zotero.Retractions = {
|
|||
}
|
||||
|
||||
// Clean up cache on group deletion
|
||||
if (action == 'delete' && type == 'group') {
|
||||
for (let libraryID of ids) {
|
||||
this._resetLibraryRetractions(libraryID);
|
||||
if (type == 'group') {
|
||||
if (action == 'delete') {
|
||||
for (let libraryID of ids) {
|
||||
this._resetLibraryRetractions(libraryID);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue