feat: configure fields style fix (#1322)
This commit is contained in:
parent
8943dabc4d
commit
ebc103c8ff
@ -16,9 +16,10 @@ export const CustomFormItemInitializers = (props: any) => {
|
||||
title: t('Configure fields'),
|
||||
children: useCustomFormItemInitializerFields(),
|
||||
},
|
||||
]
|
||||
];
|
||||
if (inheritFields?.length > 0) {
|
||||
inheritFields.forEach((inherit) => {
|
||||
Object.values(inherit)[0].length &&
|
||||
fieldItems.push(
|
||||
{
|
||||
type: 'divider',
|
||||
|
@ -20,7 +20,7 @@ export const ReadPrettyFormItemInitializers = (props: any) => {
|
||||
];
|
||||
if (inheritFields?.length > 0) {
|
||||
inheritFields.forEach((inherit) => {
|
||||
fieldItems.push(
|
||||
Object.values(inherit)[0]?.length&&fieldItems.push(
|
||||
{
|
||||
type: 'divider',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user