From 8823a5875e83fc71540aed86843d79450a54aebd Mon Sep 17 00:00:00 2001 From: Kartik Virendra Rajput <88619994+kartikvirendrar@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:41:51 +0530 Subject: [PATCH] Update LSF.jsx --- src/ui/pages/container/Label-Studio/LSF.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/pages/container/Label-Studio/LSF.jsx b/src/ui/pages/container/Label-Studio/LSF.jsx index ed4be5f90..90c0d6096 100644 --- a/src/ui/pages/container/Label-Studio/LSF.jsx +++ b/src/ui/pages/container/Label-Studio/LSF.jsx @@ -939,7 +939,8 @@ const LabelStudioWrapper = ({ }); } if(typeof taskData?.data?.language === 'string' && taskData?.data?.ocr_domain !== ""){ - setSelectedL(taskData?.data?.language); + setSelectedL([taskData?.data?.language]); + selectedLanguages.current?.push(taskData?.data?.language); } if(typeof taskData?.data?.ocr_domain === 'string' && taskData?.data?.ocr_domain !== ""){ ocrDomain.current = taskData?.data?.ocr_domain;