diff --git a/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx b/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx index e60c351..c8e3017 100644 --- a/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx +++ b/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx @@ -330,8 +330,6 @@ export default function LabelStudioTextEditor() { const updateTaskSelection = useCallback((items: EditorTaskListItem[]) => { const isCompleted = (item: EditorTaskListItem) => { - const summary = resolveSegmentSummary(item); - if (summary) return summary.done >= summary.total; return item.hasAnnotation; }; const defaultFileId = @@ -392,9 +390,6 @@ export default function LabelStudioTextEditor() { if (mode === "reset") { prefetchSeqRef.current += 1; setPrefetching(false); - segmentStatsSeqRef.current += 1; - segmentStatsCacheRef.current = {}; - segmentStatsLoadingRef.current = new Set(); } if (mode === "append") { setLoadingMore(true);