bugfix
This commit is contained in:
parent
18e7d5ba77
commit
7e96e9d469
@ -26,8 +26,10 @@ function toGroups(fields: any[], { displayFields = [] }) {
|
|||||||
if (Array.isArray(displayFields) && displayFields.length && displayFields.indexOf(field.id) === -1) {
|
if (Array.isArray(displayFields) && displayFields.length && displayFields.indexOf(field.id) === -1) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (field.interface === 'description' && group.children.length) {
|
if (field.interface === 'description') {
|
||||||
groups.push(group);
|
if (group.children.length) {
|
||||||
|
groups.push(group);
|
||||||
|
}
|
||||||
group = {
|
group = {
|
||||||
title: field.title,
|
title: field.title,
|
||||||
tooltip: get(field, 'component.tooltip'),
|
tooltip: get(field, 'component.tooltip'),
|
||||||
|
Loading…
Reference in New Issue
Block a user