Browse Source

fix(nc-gui): project?.value -> project.value

pull/5024/head
Wing-Kam Wong 2 years ago
parent
commit
a24812c0a2
  1. 4
      packages/nc-gui/components/template/Editor.vue

4
packages/nc-gui/components/template/Editor.vue

@ -502,8 +502,8 @@ async function importTemplate() {
}
}
const createdTable = await $api.base.tableCreate(
project?.value?.id as string,
(baseId || project?.value?.bases?.[0].id)!,
project.value?.id as string,
(baseId || project.value?.bases?.[0].id)!,
{
table_name: table.table_name,
// leave title empty to get a generated one based on table_name

Loading…
Cancel
Save