fix for libraries not loading after first sync #336

This commit is contained in:
CyferShepard
2025-03-11 15:45:31 +02:00
parent 8bb797c89e
commit 0c67a67b68

View File

@@ -145,6 +145,10 @@ async function syncLibraryFolders(data, existing_excluded_libraries) {
await _sync.updateSingleFieldOnDB("jf_libraries", toArchiveLibraryIds, "archived", true);
}
for (const view of db.materializedViews) {
await db.refreshMaterializedView(view);
}
syncTask.loggedData.push({ color: "yellow", Message: "Library Sync Complete" });
}
async function syncLibraryItems(data) {