Skip to content

Commit

Permalink
Update frontend/src/lib/components/HistoricList.svelte
Browse files Browse the repository at this point in the history
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
  • Loading branch information
pyranota and ellipsis-dev[bot] authored Feb 17, 2025
1 parent 50b9b27 commit 27ca01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/HistoricList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27ca01b

Please sign in to comment.