Merge branch 'master' into localStorage-clean-up

feature/default_network_editable
Frankie 7 years ago committed by GitHub
commit f690355bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 6
      ui/app/accounts/import/json.js

@ -3,6 +3,7 @@
## Current Master ## Current Master
- Remove BlacklistController from disk state - Remove BlacklistController from disk state
- Add warning for importing some kinds of files.
## 3.13.8 2018-1-29 ## 3.13.8 2018-1-29

@ -81,6 +81,12 @@ JsonImportSubview.prototype.createKeyringOnEnter = function (event) {
JsonImportSubview.prototype.createNewKeychain = function () { JsonImportSubview.prototype.createNewKeychain = function () {
const state = this.state const state = this.state
if (!state) {
const message = 'You must select a valid file to import.'
return this.props.dispatch(actions.displayWarning(message))
}
const { fileContents } = state const { fileContents } = state
if (!fileContents) { if (!fileContents) {

Loading…
Cancel
Save