From 577ec3d044d4d08bf78552a22a91e635e8b3be03 Mon Sep 17 00:00:00 2001 From: mircearoata Date: Tue, 15 Oct 2024 19:29:46 +0200 Subject: [PATCH] Fix mod list being updated only when new mods are added --- frontend/src/lib/components/mods-list/ModsList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/mods-list/ModsList.svelte b/frontend/src/lib/components/mods-list/ModsList.svelte index ad4397c..e90b4d5 100644 --- a/frontend/src/lib/components/mods-list/ModsList.svelte +++ b/frontend/src/lib/components/mods-list/ModsList.svelte @@ -30,7 +30,7 @@ try { const result = await client.query(GetModCountDocument, {}, { requestPolicy: 'network-only' }).toPromise(); const count = result.data?.getMods.count; - if (count && count !== onlineMods.length) { + if (count) { fetchingMods = true; const pages = Math.ceil(count / MODS_PER_PAGE);