Fix build failure from 42d4064bac

This commit is contained in:
Dan Stillman 2024-06-24 02:53:48 -04:00
parent 9c519948bc
commit cd43e95b85

View file

@ -278,8 +278,8 @@ async function select(win, object) {
async function selectLibrary(win, libraryOrID = Zotero.Libraries.userLibraryID) {
var libraryID = libraryOrID instanceof Zotero.Library ? libraryOrID.libraryID : libraryOrID;
yield win.ZoteroPane.collectionsView.selectLibrary(libraryID);
yield waitForItemsLoad(win);
await win.ZoteroPane.collectionsView.selectLibrary(libraryID);
await waitForItemsLoad(win);
}
async function selectCollection(win, collectionOrID) {