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
9e837b7b
Commit
9e837b7b
authored
1 year ago
by
ml bonhomme
Committed by
Erwan Rouchet
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix configuration list field item removal
parent
b68ea4f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1620
Fix configuration list field item removal
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Process/Workers/Configurations/Fields/ListField.vue
+3
-3
3 additions, 3 deletions
...nents/Process/Workers/Configurations/Fields/ListField.vue
with
3 additions
and
3 deletions
src/components/Process/Workers/Configurations/Fields/ListField.vue
+
3
−
3
View file @
9e837b7b
...
...
@@ -119,8 +119,8 @@ export default defineComponent({
},
removeItem
(
i
:
number
)
{
this
.
newList
.
splice
(
i
,
1
)
this
.
validate
dList
.
splice
(
i
,
1
)
delete
this
.
itemError
[
i
]
this
.
validate
Fields
(
)
this
.
itemError
.
splice
(
i
,
1
)
},
updateItem
(
i
:
number
,
newValue
:
string
|
number
|
boolean
)
{
if
(
this
.
newList
[
i
]
===
newValue
)
return
...
...
@@ -150,7 +150,7 @@ export default defineComponent({
watch
:
{
cleanList
:
{
handler
(
newValue
)
{
if
(
newValue
.
length
)
this
.
$emit
(
'
update:modelValue
'
,
newValue
)
this
.
$emit
(
'
update:modelValue
'
,
newValue
)
}
}
}
...
...
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