Add phone and fax number to console whois endpoint (#2447)

This commit is contained in:
Pavlo Tkach
2024-05-20 20:32:23 +00:00
committed by GitHub
parent d96a5547ce
commit 8e22ce7c70
3 changed files with 16 additions and 5 deletions
@@ -51,10 +51,12 @@ export const columns = [
columnDef: 'billingAccountMap',
header: 'Billing Accounts',
cell: (record: Registrar) =>
// @ts-ignore - completely legit line, but TS keeps complaining
`${Object.entries(record.billingAccountMap).reduce((acc, [key, val]) => {
return `${acc}${key}=${val}<br/>`;
}, '')}`,
`${Object.entries(record.billingAccountMap || {}).reduce(
(acc, [key, val]) => {
return `${acc}${key}=${val}<br/>`;
},
''
)}`,
},
{
columnDef: 'registryLockAllowed',