diff --git a/src/pages/AnnotationOperations.tsx b/src/pages/AnnotationOperations.tsx index 9fb881e2..967aa6f1 100644 --- a/src/pages/AnnotationOperations.tsx +++ b/src/pages/AnnotationOperations.tsx @@ -2883,9 +2883,10 @@ export default function AnnotationOperations() { ) : null} - {isV5Combined ? null : isV5CombinedQuality && - materializedDirectoryArtifact && - selectedMaterialization?.status === "completed" ? null : workspaceMode === "clip" || + {isV5CombinedQuality && + materializedDirectoryArtifact && + selectedMaterialization?.status === "completed" ? null : isV5Combined || + workspaceMode === "clip" || workspaceMode === "clip-quality" || isV5CombinedQuality ? (
diff --git a/tests/frontend/annotation-operations.test.mjs b/tests/frontend/annotation-operations.test.mjs index a4a7d5db..f43638b9 100644 --- a/tests/frontend/annotation-operations.test.mjs +++ b/tests/frontend/annotation-operations.test.mjs @@ -209,6 +209,7 @@ test("annotation operations uses the draggable video timeline and workflow deep assert.match(page, /const at = Number\(annotationPlayhead\.toFixed\(3\)\)/); assert.doesNotMatch(page, /\(current\.start \+ current\.end\) \/ 2/); assert.match(page, /在播放头 \$\{annotationPlayhead\.toFixed\(3\)\}s 拆分/); + assert.match(page, /completed" \? null : isV5Combined \|\|/); assert.match(timeline, /切片导航/); assert.match(timeline, /播放当前切片/); assert.match(timeline, /seekToTime\(segment\.start\)/);