From 5868cfa8a03a550345ae51fc421c85d3ffe3255f Mon Sep 17 00:00:00 2001 From: Rairn <958414905@qq.com> Date: Mon, 24 Apr 2023 10:44:35 +0800 Subject: [PATCH] fix(collection-manager): fix incorrect grouping --- .../src/collection-manager/Configuration/CollectionFields.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/collection-manager/Configuration/CollectionFields.tsx b/packages/core/client/src/collection-manager/Configuration/CollectionFields.tsx index 145c0f3d2..edd2252b9 100644 --- a/packages/core/client/src/collection-manager/Configuration/CollectionFields.tsx +++ b/packages/core/client/src/collection-manager/Configuration/CollectionFields.tsx @@ -325,7 +325,7 @@ export const CollectionFields = (props) => { const conf = getInterface(field.interface); if (conf.group === 'systemInfo') { groups.system.push(field); - } else if (['m2m', 'm2o', 'o2b', 'o2m', 'linkTo'].includes(field.interface)) { + } else if (conf.group === 'relation') { groups.association.push(field); } else { groups.general.push(field);