diff --git a/frontend/src/lib/components/HistoricList.svelte b/frontend/src/lib/components/HistoricList.svelte index b5fa44a539cf6..cc84852030ebd 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