修复 LatestJob 排序并显示任务 ID

This commit is contained in:
2026-07-04 12:18:21 +08:00
parent 7f300b9067
commit d497eb7f96
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -276,7 +276,7 @@ function formatSyncStatus(job: SyncJob): string {
}
const statusText = job.status === 'success' ? '成功' : '失败'
if (job.status === 'failed' && job.error_message) {
return `${statusText} · ${timeStr} · ${job.error_message}`
return `${statusText} · ${timeStr} · ${job.error_message} · ${job.id.slice(0, 8)}`
}
return `${statusText} · ${timeStr}`
return `${statusText} · ${timeStr} · ${job.id.slice(0, 8)}`
}