fix: include source language in jobs list language count

The Languages column now shows total languages (source + translations)
instead of just translation count, matching other parts of the UI.

🤖 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 2026-01-01 09:33:30 -06:00
parent 77be93b526
commit e0850ca307

View file

@ -812,9 +812,9 @@ export function JobsList() {
<td className="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
{formatDistanceToNow(parseUTCDate(job.created_at))} ago
</td>
{/* Languages Count */}
{/* Languages Count (includes source language) */}
<td className="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
{job.requested_outputs?.languages?.length || 0}
{(job.requested_outputs?.languages?.length || 0) + 1}
</td>
{/* Status Badge */}
<td className="px-4 py-4 whitespace-nowrap">