From 14bcbe4ab6a0a7572a7b1bacc6495604d97adec0 Mon Sep 17 00:00:00 2001 From: Ian Macdonald Date: Sat, 18 Sep 2021 21:57:30 +0200 Subject: [PATCH] Display the service node's IP address after its country. --- ts/components/dialog/OnionStatusPathDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/dialog/OnionStatusPathDialog.tsx b/ts/components/dialog/OnionStatusPathDialog.tsx index 42b94ff9f..9a84f5589 100644 --- a/ts/components/dialog/OnionStatusPathDialog.tsx +++ b/ts/components/dialog/OnionStatusPathDialog.tsx @@ -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'); }