diff --git a/client/js/templates/EntriesPage.jsx b/client/js/templates/EntriesPage.jsx index 29a1e566aa..d19697565e 100644 --- a/client/js/templates/EntriesPage.jsx +++ b/client/js/templates/EntriesPage.jsx @@ -111,13 +111,13 @@ function reloadList({ setLoadingState(LoadingState.LOADING); return reloader(fetchParams, abortController).then(({ entries, hasMore }) => { + setLoadingState(LoadingState.SUCCESS); + selfoss.entriesPage.setHasMore(hasMore); + if (abortController.signal.aborted) { return; } - setLoadingState(LoadingState.SUCCESS); - selfoss.entriesPage.setHasMore(hasMore); - if (append) { selfoss.entriesPage.appendEntries(entries); } else {