From 489048055df311892253e8e2d40f492649d2ebe6 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Tue, 3 Sep 2024 12:44:57 +0300 Subject: [PATCH] fix: import csv fixed [WTEL-5052] --- package-lock.json | 2 +- .../_shared/upload-csv-popup/mixins/uploadCSVMixin.js | 8 ++++---- .../import-csv/components/import-csv-upload-action.vue | 5 +---- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7c30ea792..719387ce1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "web-client", - "version": "24.04-1.0", + "version": "24.08.0", "dependencies": { "@vue/compat": "^3.2.47", "@vuelidate/core": "^2.0.0", diff --git a/src/modules/_shared/upload-csv-popup/mixins/uploadCSVMixin.js b/src/modules/_shared/upload-csv-popup/mixins/uploadCSVMixin.js index bba344a4b..03c0c44c6 100644 --- a/src/modules/_shared/upload-csv-popup/mixins/uploadCSVMixin.js +++ b/src/modules/_shared/upload-csv-popup/mixins/uploadCSVMixin.js @@ -74,7 +74,7 @@ export default { return this.mappingFields.every((field) => !field.required || !isEmpty(field.csv)); }, isUploadPopup() { - return this.$route.meta.uploadCSV; + return this.$route.meta.uploadCsv; } }, methods: { @@ -159,9 +159,9 @@ export default { async separator() { await this.handleParseOptionsChange(); }, - isUploadPopup() { - if(this.isUploadPopup) { - this.initUploadPopup(); + async isUploadPopup() { + if (this.isUploadPopup) { + await this.initUploadPopup(); } }, }, diff --git a/src/modules/integrations/modules/import-csv/components/import-csv-upload-action.vue b/src/modules/integrations/modules/import-csv/components/import-csv-upload-action.vue index 9bda78981..df2627627 100644 --- a/src/modules/integrations/modules/import-csv/components/import-csv-upload-action.vue +++ b/src/modules/integrations/modules/import-csv/components/import-csv-upload-action.vue @@ -5,7 +5,7 @@ @change="processCSV" />