(job)
| 390 | } |
| 391 | |
| 392 | function buildTitle(job) { |
| 393 | if (job.title) return job.title; |
| 394 | const action = job.action || 'Transferring'; |
| 395 | const count = Number(job.itemCount || 0); |
| 396 | const label = job.itemLabel || 'items'; |
| 397 | return count ? `${action} ${count} ${label}` : action; |
| 398 | } |
| 399 | |
| 400 | function formatLocationLabel(path) { |
| 401 | const raw = String(path || '').trim(); |