mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
fix for libraries not loading after first sync #336
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user