|
|
|
@ -83,7 +83,7 @@ ExportPrivateKeyModal.prototype.renderButtons = function (privateKey, password, |
|
|
|
|
|
|
|
|
|
(privateKey |
|
|
|
|
? this.renderButton('btn-clear', () => hideModal(), 'Done') |
|
|
|
|
: this.renderButton('btn-clear', () => this.exportAccountAndGetPrivateKey(this.state.password, address), 'Download') |
|
|
|
|
: this.renderButton('btn-clear', () => this.exportAccountAndGetPrivateKey(this.state.password, address), 'Show') |
|
|
|
|
), |
|
|
|
|
|
|
|
|
|
]) |
|
|
|
@ -117,7 +117,7 @@ ExportPrivateKeyModal.prototype.render = function () { |
|
|
|
|
|
|
|
|
|
h('div.account-modal-divider'), |
|
|
|
|
|
|
|
|
|
h('span.modal-body-title', 'Download Private Keys'), |
|
|
|
|
h('span.modal-body-title', 'Show Private Keys'), |
|
|
|
|
|
|
|
|
|
h('div.private-key-password', {}, [ |
|
|
|
|
this.renderPasswordLabel(privateKey), |
|
|
|
|