table editor fixes

This commit is contained in:
SPRINX0\prochazka
2024-11-06 13:00:53 +01:00
parent 5a859d81d3
commit 5315f65cfb
2 changed files with 5 additions and 2 deletions

View File

@@ -150,7 +150,7 @@
schemaList={$schemaList}
{driver}
{resetCounter}
isCreateTable={objectTypeField == 'tables' && !$editorValue?.base}
isCreateTable={objectTypeField == 'tables' && $editorValue && !$editorValue?.base}
setTableInfo={objectTypeField == 'tables' && !$connection?.isReadOnly && hasPermission(`dbops/model/edit`)
? tableInfoUpdater =>
setEditorData(tbl =>