diff --git a/frontend/pages/projects/_id/dataset/import.vue b/frontend/pages/projects/_id/dataset/import.vue index 37c5148d..05921b65 100644 --- a/frontend/pages/projects/_id/dataset/import.vue +++ b/frontend/pages/projects/_id/dataset/import.vue @@ -59,8 +59,8 @@ :accepted-file-types="acceptedFileTypes" :server="server" :files="myFiles" - @processfile="handleFilePondProcessfile" - @removefile="handleFilePondRemovefile" + @processfile="handleFilePondProcessFile" + @removefile="handleFilePondRemoveFile" /> item.id === file.id) if (index > -1) { @@ -251,6 +251,9 @@ export default { this.myFiles = [] this.uploadedFiles = [] this.isImporting = false + if (this.errors.length === 0) { + this.$router.push(`/projects/${this.$route.params.id}/dataset`) + } } } }, 3000)