From 1d2cf52b649866a15ea00733739cc0212a53e509 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Wed, 15 May 2019 04:53:09 -0400 Subject: Fixes bugs in 6.5.1 (#6613) * fix bg error * fix ui exception --- ui/lib/account-link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js index f1428ba92..f2e321991 100644 --- a/ui/lib/account-link.js +++ b/ui/lib/account-link.js @@ -1,5 +1,5 @@ module.exports = function (address, network, rpcPrefs) { - if (rpcPrefs.blockExplorerUrl) { + if (rpcPrefs && rpcPrefs.blockExplorerUrl) { return `${rpcPrefs.blockExplorerUrl}/address/${address}` } -- cgit v1.2.3