diff --git a/src/views/assets/Platform/PlatformCreateUpdate.vue b/src/views/assets/Platform/PlatformCreateUpdate.vue index 865eae137..58e881d9e 100644 --- a/src/views/assets/Platform/PlatformCreateUpdate.vue +++ b/src/views/assets/Platform/PlatformCreateUpdate.vue @@ -55,6 +55,7 @@ export default { const query = this.$route.query || {} const automation = values['automation'] || {} const category_type = values['category_type'] + automation.ansible_config = JSON.parse(automation.ansible_config) if (query.hasOwnProperty('clone_from') && automation.hasOwnProperty('id')) { delete automation['id']