fix(collection-manager): fix incorrect grouping
This commit is contained in:
parent
7d63262f8e
commit
5868cfa8a0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user