diff --git a/renderer/reducers/info/selectors.js b/renderer/reducers/info/selectors.js index b997bf4cc8c..2ac1823accd 100644 --- a/renderer/reducers/info/selectors.js +++ b/renderer/reducers/info/selectors.js @@ -186,7 +186,12 @@ const nodePubkey = createSelector(nodeUris, identityPubkey, (n, pk) => { * * @returns {string} Node uri or pubkey */ -const nodeUrisOrPubkey = createSelector(nodeUris, nodePubkey, (uris, pk) => uris || [pk]) +const nodeUrisOrPubkey = createSelector(nodeUris, nodePubkey, (uris, pk) => { + if (uris && uris.length) { + return uris + } + return [pk] +}) /** * networkInfo - Node network info.