From 88bbef9d2fa232f6006f2b84891088a0f8daf71b Mon Sep 17 00:00:00 2001 From: devketanpro Date: Tue, 10 Oct 2023 13:36:00 +0530 Subject: [PATCH] Fix : Issue with displaying the CV translation [SDCP-703] --- client/components/Events/EventPreviewContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/Events/EventPreviewContent.tsx b/client/components/Events/EventPreviewContent.tsx index 5ce2e36db..dbff0384f 100644 --- a/client/components/Events/EventPreviewContent.tsx +++ b/client/components/Events/EventPreviewContent.tsx @@ -96,7 +96,7 @@ export class EventPreviewContentComponent extends React.PureComponent { previewGroupToProfile(PREVIEW_PANEL.EVENT, formProfile), { item: item, - language: getUserInterfaceLanguageFromCV(), + language: item.language ?? getUserInterfaceLanguageFromCV(), renderEmpty: true, schema: formProfile.schema, profile: formProfile,