diff --git a/chrome/content/zotero/xpcom/retractions.js b/chrome/content/zotero/xpcom/retractions.js index 94fc9cf20c..f7f3a2a477 100644 --- a/chrome/content/zotero/xpcom/retractions.js +++ b/chrome/content/zotero/xpcom/retractions.js @@ -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; }