mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 05:16:00 +00:00
fix
This commit is contained in:
@@ -171,8 +171,8 @@
|
|||||||
<ObjectFieldsEditor
|
<ObjectFieldsEditor
|
||||||
title="Table properties"
|
title="Table properties"
|
||||||
fieldDefinitions={tableFormOptions ?? []}
|
fieldDefinitions={tableFormOptions ?? []}
|
||||||
pureNameTitle="Table name"
|
pureNameTitle={isCreateTable ? 'Table name' : null}
|
||||||
schemaList={dbInfo?.schemas?.length >= 0 ? dbInfo?.schemas : null}
|
schemaList={isCreateTable && dbInfo?.schemas?.length >= 0 ? dbInfo?.schemas : null}
|
||||||
values={_.pick(tableInfo, ['schemaName', 'pureName', ...(tableFormOptions ?? []).map(x => x.name)])}
|
values={_.pick(tableInfo, ['schemaName', 'pureName', ...(tableFormOptions ?? []).map(x => x.name)])}
|
||||||
onChangeValues={vals => {
|
onChangeValues={vals => {
|
||||||
if (!_.isEmpty(vals)) {
|
if (!_.isEmpty(vals)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user