diff --git a/react/src/components/dashboard/importKeyModal/importKeyModal.js b/react/src/components/dashboard/importKeyModal/importKeyModal.js index 4533c3c..5e130ce 100755 --- a/react/src/components/dashboard/importKeyModal/importKeyModal.js +++ b/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) {