Skip to content

Commit

Permalink
Merge pull request #1025 from AI4Bharat/su_annotation_fix
Browse files Browse the repository at this point in the history
fixed annotations not being saved upon superchecker rejection
  • Loading branch information
aparna-aa authored May 6, 2024
2 parents 7707057 + 1a8fa02 commit 7241579
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/pages/container/Label-Studio/SuperCheckerLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,7 @@ useEffect(() => {
if (taskData.annotation_status !== "freezed") {
setAutoSave(false);
showLoader();
let temp = review_status.current === "rejected"
? [] : annotation.serializeAnnotation();
let temp = annotation.serializeAnnotation();

for (let i = 0; i < temp.length; i++) {
if(temp[i].type === "relation"){
Expand Down

0 comments on commit 7241579

Please sign in to comment.