(method: string | undefined | null)
| 89 | * @param method - Backend transmission_method value (e.g. "direct"). |
| 90 | */ |
| 91 | export function labelLinkMode(method: string | undefined | null): string { |
| 92 | if (!method) return '-'; |
| 93 | return LINK_MODE_LABELS[method] || '-'; |
| 94 | } |