mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
ui: fix autogen form exec with action mapping options (#4909)
For an auto-generated form, with list mapping of action, mapped API parameter was not getting added to the request when first index from the list is selected. Change added to fix this. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
40a2ca4e0a
commit
a5e53dc5c7
@ -989,7 +989,7 @@ export default {
|
||||
}
|
||||
break
|
||||
}
|
||||
if (!input && !['tags'].includes(key)) {
|
||||
if (!input && input !== 0 && !['tags'].includes(key)) {
|
||||
continue
|
||||
}
|
||||
if (action.mapping && key in action.mapping && action.mapping[key].options) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user