Add action to hide loading indication on an incorrect pw.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 0c82c520fe
commit 889132b16c
  1. 5
      ui/app/actions.js

@ -269,7 +269,10 @@ function requestRevealSeed (password) {
dispatch(actions.showLoadingIndication())
log.debug(`background.submitPassword`)
background.submitPassword(password, (err) => {
if (err) return dispatch(actions.displayWarning(err.message))
if (err) {
dispatch(actions.hideLoadingIndication())
return dispatch(actions.displayWarning(err.message))
}
log.debug(`background.placeSeedWords`)
background.placeSeedWords((err) => {
if (err) return dispatch(actions.displayWarning(err.message))

Loading…
Cancel
Save