chore(ui): Replace IPs comma separator with space in table

Also replace IPs comma with comma and space in logs detail
This commit is contained in:
Christian Ditaputratama 2024-09-12 03:24:18 +07:00
parent fc172a0bd0
commit cdb0816bc3
No known key found for this signature in database
GPG key ID: 31D3D06D77950979
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@
{formatHostname(hostname)}:<span class="text-indigo-800 dark:text-indigo-400">{port}</span><br />
<div class="max-w-40 text-ellipsis overflow-x-auto md:overflow-hidden hover:overflow-visible">
<span class="whitespace-break-spaces text-gray-700 dark:text-gray-400"
>{ip_addresses.replace(/,/g, ', ')}</span
>{ip_addresses.replace(/,/g, ' ')}</span
>
{#if ipv6_only}
<span class="text-rose-800 dark:text-rose-400">(IPv6 only)</span>

View file

@ -75,7 +75,7 @@
</tr>
<tr>
<td class="font-bold">Public IP</td>
<td>{nodeInfo?.ip_addresses}</td>
<td>{nodeInfo?.ip_addresses.replace(/,/g, ', ')}</td>
</tr>
<tr>
<td class="font-bold">Net Type</td>