From 672979debaf51638ef754f46cc6ec07142c291c3 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 16 Aug 2022 19:52:51 +0800 Subject: [PATCH] chore(gui-v2): use tableMeta?.project_id --- packages/nc-gui-v2/components/dlg/TableRename.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/dlg/TableRename.vue b/packages/nc-gui-v2/components/dlg/TableRename.vue index 0e60c4cf03..da94b36524 100644 --- a/packages/nc-gui-v2/components/dlg/TableRename.vue +++ b/packages/nc-gui-v2/components/dlg/TableRename.vue @@ -91,7 +91,7 @@ const renameTable = async () => { loading = true try { 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, }) dialogShow.value = false