From ba6dec532bab1cdc494a5aac9f2a864de9b63d11 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Thu, 26 Mar 2020 03:45:56 +0700 Subject: [PATCH] iam: allow custom account field input in add account form (#220) Fixes #184 Signed-off-by: Rohit Yadav --- ui/src/views/AutogenView.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index de44650898e..8887a5eea83 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -142,7 +142,10 @@ - + { return param.opts[e].id }).reduce((str, name) => { return str + ',' + name }) } else if (param.name === 'account' || param.name === 'keypair') { - if (['addAccountToProject'].includes(this.currentAction.api)) { + if (['addAccountToProject', 'createAccount'].includes(this.currentAction.api)) { params[key] = input } else { params[key] = param.opts[input].name