fix(collection-manager): fix incorrect grouping

This commit is contained in:
Rairn 2023-04-24 10:44:35 +08:00
parent 7d63262f8e
commit 5868cfa8a0

View File

@ -325,7 +325,7 @@ export const CollectionFields = (props) => {
const conf = getInterface(field.interface); const conf = getInterface(field.interface);
if (conf.group === 'systemInfo') { if (conf.group === 'systemInfo') {
groups.system.push(field); groups.system.push(field);
} else if (['m2m', 'm2o', 'o2b', 'o2m', 'linkTo'].includes(field.interface)) { } else if (conf.group === 'relation') {
groups.association.push(field); groups.association.push(field);
} else { } else {
groups.general.push(field); groups.general.push(field);