diff --git a/src/views/Admin/OrganizationList.vue b/src/views/Admin/OrganizationList.vue index 1f58232..58f1147 100644 --- a/src/views/Admin/OrganizationList.vue +++ b/src/views/Admin/OrganizationList.vue @@ -377,7 +377,7 @@ { + data = data.trim() this.$apitator.post('/admin/organizations/import', { data }, { withAuth: true }).then(() => { - this.approveModal = false + this.importModal = false this.importLoading = false + this.fetchData() this.$store.commit('ADD_ALERT', { color: 'success', text: 'Importation réussite, une grande aventure commence...' @@ -769,7 +771,6 @@ export default { }) } if (this.importData.length > 0) { - console.log('use str') exec(this.importData) } else { const reader = new FileReader()