mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 05:26:00 +00:00
fix
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user