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
bf2cbc83
Commit
bf2cbc83
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
use onMounted :(
parent
aa6753f2
No related branches found
Branches containing commit
No related tags found
1 merge request
!226
Resolve "Design of the structure section in a system's page"
Pipeline
#126753
waiting for manual action with stages
in 5 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/content/pdockqMatrix.vue
+20
-0
20 additions, 0 deletions
components/content/pdockqMatrix.vue
with
20 additions
and
0 deletions
components/content/pdockqMatrix.vue
+
20
−
0
View file @
bf2cbc83
...
@@ -30,6 +30,26 @@ const margin = ref<PlotMargin>({
...
@@ -30,6 +30,26 @@ const margin = ref<PlotMargin>({
marginLeft
:
150
marginLeft
:
150
})
})
onMounted
(
async
()
=>
{
const
{
data
:
d
,
error
}
=
await
useAsyncMeiliSearch
({
index
:
toValue
(
dbName
),
query
:
""
,
params
:
{
facets
:
[
"
*
"
],
filter
:
[
`System='
${
toValue
(
computedSystem
)}
'`
,
...
toValue
(
filterBase
)
],
}
})
data
.
value
=
d
.
value
if
(
error
.
value
)
{
throw
createError
(
"
Error while getting structure pdocks
"
)
}
})
const
computedSystem
=
computed
(()
=>
{
const
computedSystem
=
computed
(()
=>
{
const
toValPage
=
toValue
(
page
)
const
toValPage
=
toValue
(
page
)
const
toValSystem
=
toValue
(
system
)
const
toValSystem
=
toValue
(
system
)
...
...
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