Fix error from retractions notifier handler on group modification

This commit is contained in:
Dan Stillman 2019-06-23 20:01:26 -04:00
parent d0f976f6bd
commit aba37b31e4

View file

@ -326,10 +326,12 @@ Zotero.Retractions = {
} }
// Clean up cache on group deletion // Clean up cache on group deletion
if (action == 'delete' && type == 'group') { if (type == 'group') {
if (action == 'delete') {
for (let libraryID of ids) { for (let libraryID of ids) {
this._resetLibraryRetractions(libraryID); this._resetLibraryRetractions(libraryID);
} }
}
return; return;
} }