From 2ec9053a4c174850292009bdfedd4cff05a9866d Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sat, 28 Sep 2024 14:40:59 -0600 Subject: [PATCH] fix import process reset --- src/geo-frontend/src/components/import/ImportProcess.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/geo-frontend/src/components/import/ImportProcess.vue b/src/geo-frontend/src/components/import/ImportProcess.vue index 519eb79..9c2ac6c 100644 --- a/src/geo-frontend/src/components/import/ImportProcess.vue +++ b/src/geo-frontend/src/components/import/ImportProcess.vue @@ -209,12 +209,13 @@ export default { let ready = false next(async vm => { if (vm.currentId !== vm.id) { - vm.msg = "" - vm.messages = [] while (!ready) { + vm.msg = "" + vm.currentId = null + vm.originalFilename = null vm.itemsForUser = [] vm.originalItems = [] - vm.currentId = null + vm.workerLog = [] try { const response = await axios.get('/api/data/item/import/get/' + vm.id) if (!response.data.success) {