About: show the mail node's hostname, not its address
ci / version (pull_request) Skipped
ci / node (pull_request) Successful in 2m28s
ci / publish (pull_request) Skipped
ci / docker-build (pull_request) Successful in 31s

The address is only shown when the node has no PTR record.
This commit is contained in:
jcoffey-dev committed 2026-09-25 21:14:54 -07:00
1 parent 41fb7875d0
commit 66673bc9d1
1 file changed
+2 -1
+2 -1
View File
@@ -16,7 +16,8 @@ interface Nodes {
function mailNodeLabel(m: Nodes["mailServer"]): string {
if (!m.address) return t("{host} does not resolve", { host: m.host });
return m.name ? `${m.name} (${m.address})` : m.address;
// The node's hostname; the bare address only when it has no PTR record.
return m.name ?? m.address;
}
export function AboutSettings() {