Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ABSD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
ABSD
Commits
396d09a3
Commit
396d09a3
authored
2 months ago
by
Simon Malesys
Browse files
Options
Downloads
Patches
Plain Diff
Remove temporarily the count optimization
parent
d2482b17
No related branches found
No related tags found
No related merge requests found
Pipeline
#151011
passed
2 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/client/store.ts
+4
-4
4 additions, 4 deletions
src/client/store.ts
with
4 additions
and
4 deletions
src/client/store.ts
+
4
−
4
View file @
396d09a3
...
...
@@ -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
=>
{
...
...
This diff is collapsed.
Click to expand it.
Simon Malesys
@smalesys
mentioned in commit
7ae35a79
·
2 months ago
mentioned in commit
7ae35a79
mentioned in commit 7ae35a7906083497bfd162000c33a972a7d162c4
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment