From a45a4d21f115089943d709189e47d9e64b5d3eff Mon Sep 17 00:00:00 2001
From: JEFFREY-Bonson <jeffrey.bonson@ibm.com>
Date: Tue, 26 Sep 2023 15:18:29 +0530
Subject: [PATCH] Fix for displaying ansible credential info

---
 app/javascript/components/ansible-credentials-form/index.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/javascript/components/ansible-credentials-form/index.jsx b/app/javascript/components/ansible-credentials-form/index.jsx
index eaadb0b3567..3e39d959f72 100644
--- a/app/javascript/components/ansible-credentials-form/index.jsx
+++ b/app/javascript/components/ansible-credentials-form/index.jsx
@@ -39,6 +39,7 @@ const AnsibleCredentialsForm = ({ recordId }) => {
       return API.get(`/api/authentications/${recordId}`).then((initialValues) => promise.then(loadSchema(initialValues.type, {
         initialValues: {
           ...initialValues,
+          ...initialValues.options,
         },
         isLoading: false,
       })));