fix
Some checks failed
Run tests / test-runner (push) Has been cancelled

This commit is contained in:
Jan Prochazka 2024-09-19 09:52:54 +02:00
parent 6c4679d83b
commit e7ec75138d

View File

@ -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)) {