Skip to content

Commit

Permalink
Merge pull request #985 from AI4Bharat/ocrsegcat5
Browse files Browse the repository at this point in the history
Update LSF.jsx
  • Loading branch information
KunalTiwary authored Mar 22, 2024
2 parents cd5365d + eba6f17 commit 93cd15a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/pages/container/Label-Studio/LSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 93cd15a

Please sign in to comment.