Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor 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
Arkindex
Frontend
Commits
a3c0dce0
Commit
a3c0dce0
authored
3 years ago
by
ml bonhomme
Committed by
Erwan Rouchet
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make the frontend allow 0 / false etc as default values in user configuration
parent
20d767b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1237
Make the frontend allow 0 / false etc as default values in user configuration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vue/Process/Workers/Configurations/Form.vue
+1
-2
1 addition, 2 deletions
vue/Process/Workers/Configurations/Form.vue
with
1 addition
and
2 deletions
vue/Process/Workers/Configurations/Form.vue
+
1
−
2
View file @
a3c0dce0
...
...
@@ -110,8 +110,7 @@ export default {
if
(
!
this
.
schema
)
return
const
filledForm
=
{}
for
(
const
property
in
this
.
schema
)
{
filledForm
[
property
]
=
''
if
(
this
.
schema
[
property
].
default
)
filledForm
[
property
]
=
this
.
schema
[
property
].
default
filledForm
[
property
]
=
this
.
schema
[
property
].
default
??
''
}
return
filledForm
},
...
...
This diff is collapsed.
Click to expand it.
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