aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/account-details-modal.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-08-23 02:58:33 +0800
committerGitHub <noreply@github.com>2018-08-23 02:58:33 +0800
commitf495c0e9e03fff740bce5e94c0d14254c2c497e2 (patch)
tree836778d457baff880b2e3725e00fc4c2002b6902 /ui/app/components/modals/account-details-modal.js
parent171f6711d988cdfe04badee6f1b445a3abf513ad (diff)
parent743c6e7ca4a9b20a2d8e2e1909e0891a303ca92e (diff)
downloadtangerine-wallet-browser-f495c0e9e03fff740bce5e94c0d14254c2c497e2.tar.gz
tangerine-wallet-browser-f495c0e9e03fff740bce5e94c0d14254c2c497e2.tar.zst
tangerine-wallet-browser-f495c0e9e03fff740bce5e94c0d14254c2c497e2.zip
Merge pull request #5102 from whymarrh/fix-account-export-pw-bug
Fix export privkey modal password bugs
Diffstat (limited to 'ui/app/components/modals/account-details-modal.js')
-rw-r--r--ui/app/components/modals/account-details-modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js
index cc90cf578..bc577fda0 100644
--- a/ui/app/components/modals/account-details-modal.js
+++ b/ui/app/components/modals/account-details-modal.js
@@ -61,7 +61,7 @@ AccountDetailsModal.prototype.render = function () {
let exportPrivateKeyFeatureEnabled = true
// This feature is disabled for hardware wallets
- if (keyring.type.search('Hardware') !== -1) {
+ if (keyring && keyring.type.search('Hardware') !== -1) {
exportPrivateKeyFeatureEnabled = false
}