From d07c859d7da619376c194ed81211147fda8ab95f Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Tue, 11 Aug 2020 00:08:12 +1200 Subject: [PATCH] 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. --- app/components/modal-import-members.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/components/modal-import-members.js b/app/components/modal-import-members.js index 9ea621702..1e228377b 100644 --- a/app/components/modal-import-members.js +++ b/app/components/modal-import-members.js @@ -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) {