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;
// Build site info string
if !server_names.is_empty() {
// Build site info string - only show sites with meaningful routing
if !server_names.is_empty() && !destinations.is_empty() {
let primary_name = &server_names[0];
if destinations.is_empty() {
Some(primary_name.clone())
} else {
Some(format!("{} {}", primary_name, destinations[0]))
}
Some(format!("{} {}", primary_name, destinations[0]))
} else {
None
}