fix(client): fix field initializer in detail block (#2144)

This commit is contained in:
Junyi 2023-06-28 09:40:59 +07:00 committed by GitHub
parent c229d837a3
commit 4fc64af173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ export const ReadPrettyFormItemInitializers = (props: any) => {
});
}
associationFields.length > 0 &&
fieldItems.push([
fieldItems.push(
{
type: 'divider',
},
@ -48,7 +48,7 @@ export const ReadPrettyFormItemInitializers = (props: any) => {
title: t('Display association fields'),
children: associationFields,
},
]);
);
fieldItems.push(
{