diff --git a/lib/global-admin/addon/components/new-multi-cluster-app/component.js b/lib/global-admin/addon/components/new-multi-cluster-app/component.js index 7a5e76e35..48dbe1793 100644 --- a/lib/global-admin/addon/components/new-multi-cluster-app/component.js +++ b/lib/global-admin/addon/components/new-multi-cluster-app/component.js @@ -419,14 +419,16 @@ export default Component.extend(NewOrEdit, CatalogApp, { if (get(model, 'questions')) { let neu = {}; - (get(this, 'answersArray') || []).forEach((a) => { + (get(this, 'answersArray') || []).filter((a) => typeof a.answer !== 'object' ).forEach((a) => { neu[a.variable] = isEmpty(a.answer) ? a.default : a.answer; }); const customAnswers = get(model, 'customAnswers') || {}; Object.keys(customAnswers).forEach((key) => { - neu[key] = customAnswers[key]; + if ( typeof customAnswers[key] !== 'object' ) { + neu[key] = customAnswers[key]; + } }); return YAML.stringify(neu);