Skip to content

Commit

Permalink
Merge pull request #991 from AI4Bharat/ocrsegcat7
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Apr 1, 2024
2 parents de7e54c + 4b06cb4 commit 0e6ca6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/ui/pages/container/Label-Studio/AllTaskLSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ useEffect(() => {
let ids = new Set();
let countLables = 0;
temp.map((curr) => {
ids.add(curr.id);
if(curr.type !== "relation"){
ids.add(curr.id);
}
if(curr.type === "labels"){
countLables++;
}
Expand Down Expand Up @@ -303,7 +305,9 @@ useEffect(() => {
let ids = new Set();
let countLables = 0;
temp.map((curr) => {
ids.add(curr.id);
if(curr.type !== "relation"){
ids.add(curr.id);
}
if(curr.type === "labels"){
countLables++;
}
Expand Down
1 change: 0 additions & 1 deletion src/ui/pages/container/Label-Studio/LSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ const LabelStudioWrapper = ({
let countLables = 0;
temp.map((curr) => {
// console.log(curr);
ids.add(curr.id);
if(curr.type !== "relation"){
ids.add(curr.id);
}
Expand Down

0 comments on commit 0e6ca6d

Please sign in to comment.