From 27ca01bda72cc97c56cae29abf07e8cdefbfeda6 Mon Sep 17 00:00:00 2001 From: pyranota <92104930+pyranota@users.noreply.github.com> Date: Tue, 18 Feb 2025 00:20:44 +0300 Subject: [PATCH] Update frontend/src/lib/components/HistoricList.svelte Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --- frontend/src/lib/components/HistoricList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/HistoricList.svelte b/frontend/src/lib/components/HistoricList.svelte index b5fa44a539..cc84852030 100644 --- a/frontend/src/lib/components/HistoricList.svelte +++ b/frontend/src/lib/components/HistoricList.svelte @@ -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