diff --git a/packages/nc-gui/components/dlg/TableRename.vue b/packages/nc-gui/components/dlg/TableRename.vue index e2f6f86bad..3c18db606c 100644 --- a/packages/nc-gui/components/dlg/TableRename.vue +++ b/packages/nc-gui/components/dlg/TableRename.vue @@ -119,6 +119,7 @@ const renameTable = async () => { await $api.dbTable.update(tableMeta.id as string, { project_id: tableMeta.project_id, table_name: formState.title, + title: formState.title, }) dialogShow.value = false diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index 495d7ca56c..8388bb2f4e 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -1950,6 +1950,7 @@ export class Api< tableId: string, data: { table_name?: string; + title?: string; project_id?: string; }, params: RequestParams = {} diff --git a/scripts/sdk/swagger.json b/scripts/sdk/swagger.json index cfe2c4cd86..5116c33b62 100644 --- a/scripts/sdk/swagger.json +++ b/scripts/sdk/swagger.json @@ -1703,6 +1703,9 @@ "table_name": { "type": "string" }, + "title": { + "type": "string" + }, "project_id": { "type": "string" }