This commit is contained in:
@@ -86,6 +86,7 @@ export default {
|
|||||||
let res = await parseCSVFile(this.uploadFile);
|
let res = await parseCSVFile(this.uploadFile);
|
||||||
if (res.errors) {
|
if (res.errors) {
|
||||||
this.importResult = JSON.stringify(res.errors);
|
this.importResult = JSON.stringify(res.errors);
|
||||||
|
throw new Error("Errors in CSV file import can not proceed");
|
||||||
}
|
}
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
dat = res.data;
|
dat = res.data;
|
||||||
|
|||||||
Reference in New Issue
Block a user