Browse Source

chore(gui-v2): use tableMeta?.project_id

pull/3117/head
Wing-Kam Wong 2 years ago
parent
commit
672979deba
  1. 2
      packages/nc-gui-v2/components/dlg/TableRename.vue

2
packages/nc-gui-v2/components/dlg/TableRename.vue

@ -91,7 +91,7 @@ const renameTable = async () => {
loading = true loading = true
try { try {
await $api.dbTable.update(tableMeta?.id as string, { await $api.dbTable.update(tableMeta?.id as string, {
project_id: project?.value?.id as string, project_id: tableMeta?.project_id as string,
table_name: formState.title, table_name: formState.title,
}) })
dialogShow.value = false dialogShow.value = false

Loading…
Cancel
Save