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:
parent
394cf478f5
commit
eaabf9cef6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue