aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/account-details-modal.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-08-21 09:51:15 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-08-21 09:51:35 +0800
commitab7eb73ecc9e1eac8a5934a59c186e9f92a0bb32 (patch)
treed0e54e987f7ee42d21dd8a5aeb582c4a2c72e02c /ui/app/components/modals/account-details-modal.js
parent6e813db47309b7773d430fecc6a467be66f6f16b (diff)
parent887cad973f25f43d2d4502ff31657f156a44b188 (diff)
downloadtangerine-wallet-browser-ab7eb73ecc9e1eac8a5934a59c186e9f92a0bb32.tar.gz
tangerine-wallet-browser-ab7eb73ecc9e1eac8a5934a59c186e9f92a0bb32.tar.zst
tangerine-wallet-browser-ab7eb73ecc9e1eac8a5934a59c186e9f92a0bb32.zip
fix merge conflicts
Diffstat (limited to 'ui/app/components/modals/account-details-modal.js')
-rw-r--r--ui/app/components/modals/account-details-modal.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js
index 049c75eee..38f70c33c 100644
--- a/ui/app/components/modals/account-details-modal.js
+++ b/ui/app/components/modals/account-details-modal.js
@@ -60,7 +60,8 @@ AccountDetailsModal.prototype.render = function () {
})
let exportPrivateKeyFeatureEnabled = true
- if (keyring.type === 'Trezor Hardware') {
+ // This feature is disabled for hardware wallets
+ if (keyring.type.search('Hardware') !== -1) {
exportPrivateKeyFeatureEnabled = false
}