webadmin: remove stray text "pre" in on the "required dns records" page

This commit is contained in:
Mechiel Lukkien 2024-06-24 10:22:42 +02:00
parent 9bab3124f6
commit fdcd2eb0eb
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -2580,7 +2580,7 @@ const domainDNSRecords = async (d) => {
client.DomainRecords(d),
client.ParseDomain(d),
]);
dom._kids(page, crumbs(crumblink('Mox Admin', '#'), crumblink('Domain ' + domainString(dnsdomain), '#domains/' + d), 'DNS Records'), dom.h1('Required DNS records'), dom.pre('pre', dom._class('literal'), (records || []).join('\n')), dom.br());
dom._kids(page, crumbs(crumblink('Mox Admin', '#'), crumblink('Domain ' + domainString(dnsdomain), '#domains/' + d), 'DNS Records'), dom.h1('Required DNS records'), dom.pre(dom._class('literal'), (records || []).join('\n')), dom.br());
};
const domainDNSCheck = async (d) => {
const [checks, dnsdomain] = await Promise.all([

View file

@ -1906,7 +1906,7 @@ const domainDNSRecords = async (d: string) => {
'DNS Records',
),
dom.h1('Required DNS records'),
dom.pre('pre', dom._class('literal'), (records || []).join('\n')),
dom.pre(dom._class('literal'), (records || []).join('\n')),
dom.br(),
)
}