Skip to content

Commit

Permalink
Revert "resolved cvat-ai#7443"
Browse files Browse the repository at this point in the history
This reverts commit ec9f5e7.
  • Loading branch information
thekavikumar committed Mar 21, 2024
1 parent ec9f5e7 commit 07142de
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ export default function LabelsListComponent(): JSX.Element {
const ready = useSelector((state: CombinedState) => state.annotation.canvas.ready);
const activeControl = useSelector((state: CombinedState) => state.annotation.canvas.activeControl);

let frames = issues
.filter((issue: Issue) => !issue.resolved) // Filter out the resolved issues
.map((issue: Issue) => issue.frame) // Extract frames from remaining issues
.sort((a: number, b: number) => +a - +b); // Sort the frames

let frames = issues.map((issue: Issue): number => issue.frame).sort((a: number, b: number) => +a - +b);
if (showGroundTruth) {
const conflictFrames = conflicts
.map((conflict): number => conflict.frame).sort((a: number, b: number) => +a - +b);
Expand Down

0 comments on commit 07142de

Please sign in to comment.