fix: add SDH captions and descriptive transcript to QC Download Assets panel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-03-27 13:51:34 +00:00
parent 83919c19b5
commit 084c37d1a7

View file

@ -1123,10 +1123,12 @@ export function QCDetail() {
const assets = langAssets as Record<string, string>;
const assetDefs = [
{ key: 'captions_vtt', label: 'Closed Captions (.vtt)' },
{ key: 'sdh_captions_vtt', label: 'SDH Captions (.vtt)' },
{ key: 'audio_description_vtt', label: 'Audio Description (.vtt)' },
{ key: 'audio_description_mp3', label: 'Audio Description (.mp3)' },
{ key: 'accessible_video_mp4', label: 'Accessible Video (.mp4)' },
{ key: 'accessible_captions_vtt', label: 'Retimed Captions (.vtt)' },
{ key: 'descriptive_transcript', label: 'Descriptive Transcript (.txt)' },
];
return assetDefs
.filter(({ key }) => assets[key])