Skip to content
Snippets Groups Projects
Commit 396d09a3 authored by Simon Malesys's avatar Simon Malesys
Browse files

Remove temporarily the count optimization

parent d2482b17
No related branches found
No related tags found
No related merge requests found
Pipeline #151011 passed
......@@ -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 => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment