mirror of https://github.com/apache/cloudstack.git
autogenview: fix fill edit/update forms (#441)
Fix update host form issue (update forms in general) Fixes #417 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
28b1b9dbe8
commit
1a3e659958
|
|
@ -738,7 +738,7 @@ export default {
|
|||
this.currentAction.paramFields.map(field => {
|
||||
let fieldValue = null
|
||||
let fieldName = null
|
||||
if (field.type === 'list' || field.name === 'account' || (this.currentAction.mapping && field.name in this.currentAction.mapping)) {
|
||||
if (field.type === 'list' || field.name === 'account') {
|
||||
fieldName = field.name.replace('ids', 'name').replace('id', 'name')
|
||||
} else {
|
||||
fieldName = field.name
|
||||
|
|
|
|||
Loading…
Reference in New Issue