From 1053d35b7d5dea4c1573aa8a5600f39eada3c5c3 Mon Sep 17 00:00:00 2001 From: AJAY_JAGANATHAN Date: Thu, 31 Aug 2023 14:48:21 +0530 Subject: [PATCH] fix variables in process-details page --- .../src/envelope/components/ProcessDetails/ProcessDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-packages/packages/process-details/src/envelope/components/ProcessDetails/ProcessDetails.tsx b/ui-packages/packages/process-details/src/envelope/components/ProcessDetails/ProcessDetails.tsx index b13245520a..f40f67f0c8 100644 --- a/ui-packages/packages/process-details/src/envelope/components/ProcessDetails/ProcessDetails.tsx +++ b/ui-packages/packages/process-details/src/envelope/components/ProcessDetails/ProcessDetails.tsx @@ -153,7 +153,7 @@ const ProcessDetails: React.FC = ({ }; const getVariableJSON = (): void => { if (data && data.id === processDetails.id) { - setUpdateJson(JSON.parse(data.variables)); + setUpdateJson(data.variables); } }; /* istanbul ignore else*/