Don't return primarydisplay and type
This commit is contained in:
parent
c2e643cebb
commit
906abbb12a
|
@ -173,9 +173,6 @@ export async function enrichRelationshipSchema(
|
||||||
field.schema[relTableFieldName] = {
|
field.schema[relTableFieldName] = {
|
||||||
visible: isReadonly,
|
visible: isReadonly,
|
||||||
readonly: isReadonly,
|
readonly: isReadonly,
|
||||||
// @ts-ignore this would require a big refactor around field typings, having document types and api dtos
|
|
||||||
primaryDisplay: isPrimaryDisplay,
|
|
||||||
type: relTableField.type,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue