Fixed members importer state after unknown API error

no issue

- Members importer returns to first state of uploader with file selection when unknown error happens during the upload. If the upload fails and 'summary' state is set, it leads to showing summary stas during 'customizing' state.
This commit is contained in:
Nazar Gargol 2020-08-11 00:08:12 +12:00
parent d2456947bd
commit d07c859d7d
1 changed files with 4 additions and 1 deletions

View File

@ -333,7 +333,10 @@ export default ModalComponent.extend({
_uploadFinished() {
this.set('uploading', false);
this.set('summary', true);
if (!this.get('failureMessage')) {
this.set('summary', true);
}
},
_importValidationFailed(errors) {