fix: batch edit deletes relational table fields (#1743)
This commit is contained in:
parent
564fe24c8a
commit
7b892cec50
@ -24,18 +24,18 @@ export const BulkEditFormItemInitializers = (props: any) => {
|
|||||||
children: useCustomBulkEditFormItemInitializerFields(),
|
children: useCustomBulkEditFormItemInitializerFields(),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
associationFields.length > 0
|
// associationFields.length > 0
|
||||||
? [
|
// ? [
|
||||||
{
|
// {
|
||||||
type: 'divider',
|
// type: 'divider',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
type: 'itemGroup',
|
// type: 'itemGroup',
|
||||||
title: t('Display association fields'),
|
// title: t('Display association fields'),
|
||||||
children: associationFields,
|
// children: associationFields,
|
||||||
},
|
// },
|
||||||
]
|
// ]
|
||||||
: [],
|
// : [],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
type: 'divider',
|
type: 'divider',
|
||||||
|
Loading…
Reference in New Issue
Block a user