kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: 828D8FE4D235B551
1 changed files with
0 additions and
2 deletions
-
packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte
|
|
|
@ -18,7 +18,6 @@ |
|
|
|
let schema = {} |
|
|
|
let fields = [] |
|
|
|
|
|
|
|
$: console.log(files[0]) |
|
|
|
$: valid = !schema || fields.every(column => schema[column].success) |
|
|
|
$: dataImport = { |
|
|
|
valid, |
|
|
|
@ -44,7 +43,6 @@ |
|
|
|
} |
|
|
|
|
|
|
|
async function validateCSV() { |
|
|
|
console.log(csvString) |
|
|
|
const response = await api.post("/api/tables/csv/validate", { |
|
|
|
csvString, |
|
|
|
schema: schema || {}, |
|
|
|
|