Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-qtl-db
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
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
cc-qtl
cc-qtl-db
Commits
8317898f
Commit
8317898f
authored
2 years ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug (display default value instead of real one)
parent
b00a9447
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#78118
passed with stages
in 7 minutes and 56 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client-nuxt/components/WorkflowInvocation.vue
+3
-3
3 additions, 3 deletions
client-nuxt/components/WorkflowInvocation.vue
client-nuxt/pages/projects/_id/analysis/_analysisId.vue
+5
-2
5 additions, 2 deletions
client-nuxt/pages/projects/_id/analysis/_analysisId.vue
with
8 additions
and
5 deletions
client-nuxt/components/WorkflowInvocation.vue
+
3
−
3
View file @
8317898f
...
...
@@ -12,12 +12,12 @@
</v-col>
<v-col>
{{
step
.
tool
.
description
}}
</v-col>
</v-row>
<template
v-slot:
actions
>
<template
#
actions
>
<analysis-state
:state=
"step.job.state"
></analysis-state>
</
template
>
</v-expansion-panel-header>
<v-expansion-panel-content>
<
v-
template
v-if=
"Object.keys(step.job.params).length > 0"
>
<
template
v-if=
"Object.keys(step.job.params).length > 0"
>
<v-list-item
v-for=
"k in Object.keys(step.job.params)"
:key=
"k"
...
...
@@ -36,7 +36,7 @@
</v-list-item-content></
template
>
</v-list-item>
</
v-
template>
</template>
<v-card
v-else
flat
>
<v-card-text
class=
"pb-0"
>
<v-alert
border=
"left"
text
type=
"info"
class=
"mt-4"
>
...
...
This diff is collapsed.
Click to expand it.
client-nuxt/pages/projects/_id/analysis/_analysisId.vue
+
5
−
2
View file @
8317898f
...
...
@@ -271,7 +271,7 @@ export default {
if
(
!
this
.
invocation
)
{
return
{
steps
:
[]
}
}
else
{
return
this
.
invocation
return
{
...
this
.
invocation
}
}
},
...
...
@@ -286,14 +286,17 @@ export default {
const
inputObj
=
step
.
tool
.
inputs
.
find
((
input
)
=>
{
return
input
.
name
===
key
})
// console.log(inputObj)
let
inputNameToDisplay
=
''
if
(
inputObj
?.
type
===
'
select
'
)
{
// Get the option displayed name
const
sanitizedValue
=
value
.
replaceAll
(
'
"
'
,
''
)
const
inputValue
=
inputObj
.
options
.
find
(([
displayName
,
v
])
=>
{
return
v
===
inputObj
.
v
alue
return
v
===
sanitizedV
alue
})
inputNameToDisplay
=
inputValue
[
0
]
}
else
{
// console.log(value)
inputNameToDisplay
=
value
.
slice
(
0
,
-
1
).
slice
(
1
)
}
return
[
inputObj
.
label
,
inputNameToDisplay
]
...
...
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