Update frontend/src/lib/components/HistoricList.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
// We cannot apply potential items right after fetch,
|
||||
// because that would trigger expansion in list
|
||||
// and old items will be loading by 10 every reload
|
||||
if (perPageBind != perPage) items.push(...potentialItems), (perPageBind = perPage)
|
||||
if (perPageBind != perPage) { items.push(...potentialItems); perPageBind = perPage; }
|
||||
return items
|
||||
} else {
|
||||
// Save discovered items to buffer and apply later
|
||||
|
||||
Reference in New Issue
Block a user