Browse Source

Merge pull request #3395 from nocodb/fix/gui-v2-upload-csv

fix(gui-v2): use import data with the first key
pull/3396/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
e0dcaa7b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/nc-gui-v2/components/template/Editor.vue

3
packages/nc-gui-v2/components/template/Editor.vue

@ -332,7 +332,8 @@ async function importTemplate() {
const tableName = meta.value.title
const data = importData[tableName]
// only one file is allowed currently
const data = importData[Object.keys(importData)[0]]
const projectName = project.value.title!

Loading…
Cancel
Save