diff --git a/app/src/lib/components/History.svelte b/app/src/lib/components/History.svelte
index ba7e023f6..aa802e93c 100644
--- a/app/src/lib/components/History.svelte
+++ b/app/src/lib/components/History.svelte
@@ -27,7 +27,7 @@
let currentFilePreview: RemoteFile | undefined = undefined;
async function onLastInView() {
- if (!$loading) await historyService.loadMore();
+ if (!$loading && !$isAllLoaded) await historyService.loadMore();
}
function updateFilePreview(entry: Snapshot, path: string) {
@@ -102,7 +102,8 @@
{/if}
- {#if $snapshots.length == 0 && $loading}
+
+ {#if $loading && $snapshots.length == 0}