fix: show 'Original only' instead of 'N/A' for jobs without translations

Clarifies the UI when a job has no additional translation languages
requested, making it clearer that the job contains only the original
language assets.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael 2025-12-26 16:59:55 -06:00
parent 394cf478f5
commit eaabf9cef6

View file

@ -221,7 +221,7 @@ export function FinalList() {
<div className="flex items-center space-x-4">
<div className="text-right">
<p className="text-sm text-gray-900">
{job.requested_outputs?.languages?.join(', ') || 'N/A'}
{job.requested_outputs?.languages?.length ? job.requested_outputs.languages.join(', ') : 'Original only'}
</p>
</div>
<div className="flex-shrink-0">
@ -289,7 +289,7 @@ export function FinalList() {
<div className="flex items-center space-x-4">
<div className="text-right">
<p className="text-sm text-gray-900">
{job.requested_outputs?.languages?.join(', ') || 'N/A'}
{job.requested_outputs?.languages?.length ? job.requested_outputs.languages.join(', ') : 'Original only'}
</p>
<p className="text-xs text-gray-500">
Ready for download