Browse Source

import wif close modal on rescan

v0.25
pbca26 7 years ago
parent
commit
2e5487259f
  1. 6
      react/src/components/dashboard/importKeyModal/importKeyModal.js

6
react/src/components/dashboard/importKeyModal/importKeyModal.js

@ -160,6 +160,12 @@ class ImportKeyModal extends React.Component {
).then((json) => {
_rescanInProgress = false;
if (rescan) {
setTimeout(() => {
this.closeModal();
}, 2000);
}
if (!json.id &&
!json.result &&
!json.error) {

Loading…
Cancel
Save