Display the service node's IP address after its country.

This commit is contained in:
Ian Macdonald 2021-09-18 21:57:30 +02:00
parent b17312c13c
commit 14bcbe4ab6
No known key found for this signature in database
GPG key ID: AE4C20556BA626FA

View file

@ -69,7 +69,7 @@ const OnionPathModalInner = () => {
{nodes.map((snode: Snode | any, index: number) => {
let labelText = snode.label
? snode.label
: countryLookup.byIso(ip2country(snode.ip))?.country;
: `${countryLookup.byIso(ip2country(snode.ip))?.country} [${snode.ip}]`;
if (!labelText) {
labelText = window.i18n('unknownCountry');
}