mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Display the service node's IP address after its country.
This commit is contained in:
parent
b17312c13c
commit
14bcbe4ab6
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue