From 0da996939020335233628de6bbdfe147c008162a Mon Sep 17 00:00:00 2001 From: Sakshi Bobade Date: Mon, 2 Sep 2024 16:58:29 +0530 Subject: [PATCH] Code opt for the vsam stage --- src/renderer/components/stages/Vsam.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/renderer/components/stages/Vsam.tsx b/src/renderer/components/stages/Vsam.tsx index 246457e..4cd688e 100644 --- a/src/renderer/components/stages/Vsam.tsx +++ b/src/renderer/components/stages/Vsam.tsx @@ -293,16 +293,19 @@ const Vsam = () => {
- {/* */} + - {editorVisible && { - const newData = init ? (Object.keys(setupYaml).length > 0 ? setupYaml : data?.zowe?.setup?.vsam) : (data?.zowe?.setup?.vsam ? data?.zowe?.setup?.vsam : data); - setInit(false); - setStageConfig(true, '', newData); + + { editorVisible && + } - }/> } {!isFormValid &&
{formError}
}