This commit is contained in:
Christoffer Martinsson 2025-10-12 16:40:38 +02:00
parent 18fc1f5b16
commit cd593e32d2

View File

@ -826,14 +826,10 @@ impl ServiceCollector {
*start_index = i - 1; *start_index = i - 1;
// Build site info string // Build site info string - only show sites with meaningful routing
if !server_names.is_empty() { if !server_names.is_empty() && !destinations.is_empty() {
let primary_name = &server_names[0]; let primary_name = &server_names[0];
if destinations.is_empty() { Some(format!("{} {}", primary_name, destinations[0]))
Some(primary_name.clone())
} else {
Some(format!("{} {}", primary_name, destinations[0]))
}
} else { } else {
None None
} }