fix: auto-enter edit mode when creating new tables from canvas (#943)

* fix: auto-enter edit mode when creating new tables from canvas or sidebar

* fix

* fix

---------

Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com>
This commit is contained in:
Jonathan Fishner
2025-10-09 15:43:41 +03:00
committed by GitHub
parent b15bc945ac
commit bcd8aa9378
2 changed files with 30 additions and 10 deletions

View File

@@ -350,6 +350,7 @@ export const ChartDBProvider: React.FC<
isView: false,
order: tables.length,
...attributes,
schema: attributes?.schema ?? defaultSchemas[databaseType],
};
table.indexes = getTableIndexesWithPrimaryKey({