fix: batch edit deletes relational table fields (#1743)

This commit is contained in:
Jack 2023-04-22 11:01:16 +08:00 committed by GitHub
parent 564fe24c8a
commit 7b892cec50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,18 +24,18 @@ export const BulkEditFormItemInitializers = (props: any) => {
children: useCustomBulkEditFormItemInitializerFields(),
},
],
associationFields.length > 0
? [
{
type: 'divider',
},
{
type: 'itemGroup',
title: t('Display association fields'),
children: associationFields,
},
]
: [],
// associationFields.length > 0
// ? [
// {
// type: 'divider',
// },
// {
// type: 'itemGroup',
// title: t('Display association fields'),
// children: associationFields,
// },
// ]
// : [],
[
{
type: 'divider',