Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
9295ea7c
Commit
9295ea7c
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
Add onMount to get facetDitribution
parent
30c43f88
No related branches found
Branches containing commit
No related tags found
2 merge requests
!203
Foldseek pages
,
!186
Refactor facet autocomplete
Pipeline
#120025
passed with stages
in 6 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/content/RefseqDb.vue
+14
-14
14 additions, 14 deletions
components/content/RefseqDb.vue
with
14 additions
and
14 deletions
components/content/RefseqDb.vue
+
14
−
14
View file @
9295ea7c
...
...
@@ -36,20 +36,20 @@ await callOnce(async () => {
facetDistribution
.
value
=
toValue
(
data
)?.
facetDistribution
})
//
onMounted(async () => {
//
console.log("dans le mounted refseq")
//
const { data } = await useAsyncMeiliSearch({
//
index: toValue(dbName), query: "", params: {
//
facets: ["*"],
//
filter: [],
//
page: 1,
//
hitsPerPage: 25,
//
}
//
})
//
console.log(toValue(data))
//
facetDistribution.value = toValue(data)?.facetDistribution
//
})
onMounted
(
async
()
=>
{
console
.
log
(
"
dans le mounted refseq
"
)
const
{
data
}
=
await
useAsyncMeiliSearch
({
index
:
toValue
(
dbName
),
query
:
""
,
params
:
{
facets
:
[
"
*
"
],
filter
:
[],
page
:
1
,
hitsPerPage
:
25
,
}
})
console
.
log
(
toValue
(
data
))
facetDistribution
.
value
=
toValue
(
data
)?.
facetDistribution
})
const
{
serialize
}
=
useSerialize
()
const
{
rasterize
}
=
useRasterize
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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