fix formatting of multiple ptr host names in admin dns check page

from mteege, thanks!
This commit is contained in:
Mechiel Lukkien 2023-03-02 20:07:02 +01:00
parent 6abee87aa3
commit 286411cf82
No known key found for this signature in database

View file

@ -874,7 +874,7 @@ const domainDNSCheck = async (d) => {
dom.table(
dom.tr(dom.th('IP'), dom.th('Addresses')),
Object.entries(checks.IPRev.IPNames).sort().map(t =>
dom.tr(dom.td(t[0]), dom.td(t[1])),
dom.tr(dom.td(t[0]), dom.td((t[1] || []).join(', '))),
)
),
]