Stop polling the library catalog and keep the stage on thumbs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-3
@@ -802,11 +802,9 @@ function applyLibrary(data: unknown) {
|
||||
}
|
||||
|
||||
async function loadLibrary() {
|
||||
// First page of metadata only — grid paints immediately; full catalog follows for grouping/search
|
||||
// First page of metadata only — never follow with a full light=1 catalog scan
|
||||
const first = await $fetch<any>('/api/library?limit=50')
|
||||
applyLibrary(first)
|
||||
const data = await $fetch<any>('/api/library?light=1')
|
||||
applyLibrary(data)
|
||||
}
|
||||
|
||||
function folderChipCount(folder: LibraryFolder) {
|
||||
|
||||
Reference in New Issue
Block a user