From 38b4211cf1da096797181160073596f3d6462049 Mon Sep 17 00:00:00 2001 From: VilppeRiskidev Date: Mon, 24 Feb 2025 18:26:15 +0200 Subject: [PATCH] Fix a bug in activeDownloadCount which caused mods in installation step to not be counted --- src/store/modules/DownloadModule.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/modules/DownloadModule.ts b/src/store/modules/DownloadModule.ts index 3f2d567f1..f38741f4b 100644 --- a/src/store/modules/DownloadModule.ts +++ b/src/store/modules/DownloadModule.ts @@ -54,7 +54,9 @@ export const DownloadModule = { getters: >{ activeDownloadCount(state) { const active = state.allDownloads.filter( - dl => !dl.failed && dl.downloadProgress < 100 && dl.installProgress < 100 + dl => + !dl.failed && + !(dl.downloadProgress >= 100 && dl.installProgress >= 100) ); return active.length; },