From 396d09a396fff9722d6cc1573a4e296dd56b2547 Mon Sep 17 00:00:00 2001 From: Simon Malesys <simon.malesys@pasteur.fr> Date: Tue, 4 Mar 2025 11:06:00 +0100 Subject: [PATCH] Remove temporarily the count optimization --- src/client/store.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/store.ts b/src/client/store.ts index 402666a..6d2f9cf 100644 --- a/src/client/store.ts +++ b/src/client/store.ts @@ -127,10 +127,10 @@ export const useStore = defineStore('store', { countAntibodies(countRequest: APICountParams): void { // Avoid to send an empty request to get an information // we already have in the stats. - if (Object.keys(countRequest).length === 0 && this.statistics?.antibodies) { - this.antibodiesCount = this.statistics.antibodies - return - } + // if (Object.keys(countRequest).length === 0 && this.statistics?.antibodies) { + // this.antibodiesCount = this.statistics.antibodies + // return + // } this.isFetchingCount = true api.countAntibodies(countRequest).then(response => { -- GitLab