mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Don't try to hide/show Retracted Items if ZoteroPane is still loading
This commit is contained in:
parent
7422538fb3
commit
bf9e5d3a83
1 changed files with 1 additions and 0 deletions
|
|
@ -306,6 +306,7 @@ Zotero.Retractions = {
|
|||
|| (current && !Zotero.Prefs.getVirtualCollectionStateForLibrary(libraryID, 'retracted')))) {
|
||||
let promises = [];
|
||||
for (let zp of Zotero.getZoteroPanes()) {
|
||||
if (!zp.loaded) continue;
|
||||
promises.push(zp.setVirtual(libraryID, 'retracted', current));
|
||||
zp.hideRetractionBanner();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue