From 3036a03aa63a183877c391389ec5b8c82e7c9dc8 Mon Sep 17 00:00:00 2001 From: ljf Date: Sun, 9 May 2021 00:27:40 +0200 Subject: [PATCH] [fix] Missing csvfile args --- app/src/views/user/UserImport.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/views/user/UserImport.vue b/app/src/views/user/UserImport.vue index 609f2e27..4bf6bc64 100644 --- a/app/src/views/user/UserImport.vue +++ b/app/src/views/user/UserImport.vue @@ -5,7 +5,7 @@ @submit.prevent="onSubmit" > - + @@ -28,7 +28,7 @@ export default { data () { return { form: { - csv: '', + csvfile: '', update: false, delete: false }, @@ -36,12 +36,12 @@ export default { serverError: '', fields: { - csv: { + csvfile: { label: this.$i18n.t('users_import_csv_file'), description: this.$i18n.t('users_import_csv_file_desc'), component: 'FileItem', props: { - id: 'csv', + id: 'csvfile', placeholder: this.$i18n.t('placeholder.file') } }, @@ -69,7 +69,7 @@ export default { validations: { form: { - csv: { required, fileMediaTypeMatch: fileMediaTypeMatch('text/csv') } + csvfile: { required, fileMediaTypeMatch: fileMediaTypeMatch('text/csv') } } },