mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
This commit is contained in:
parent
6c4679d83b
commit
e7ec75138d
@ -171,8 +171,8 @@
|
||||
<ObjectFieldsEditor
|
||||
title="Table properties"
|
||||
fieldDefinitions={tableFormOptions ?? []}
|
||||
pureNameTitle="Table name"
|
||||
schemaList={dbInfo?.schemas?.length >= 0 ? dbInfo?.schemas : null}
|
||||
pureNameTitle={isCreateTable ? 'Table name' : null}
|
||||
schemaList={isCreateTable && dbInfo?.schemas?.length >= 0 ? dbInfo?.schemas : null}
|
||||
values={_.pick(tableInfo, ['schemaName', 'pureName', ...(tableFormOptions ?? []).map(x => x.name)])}
|
||||
onChangeValues={vals => {
|
||||
if (!_.isEmpty(vals)) {
|
||||
|
Loading…
Reference in New Issue
Block a user