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
|
// Clean up cache on group deletion
|
||||||
if (action == 'delete' && type == 'group') {
|
if (type == 'group') {
|
||||||
for (let libraryID of ids) {
|
if (action == 'delete') {
|
||||||
this._resetLibraryRetractions(libraryID);
|
for (let libraryID of ids) {
|
||||||
|
this._resetLibraryRetractions(libraryID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue