Use isvisible for populating schemas instead of readonly
This commit is contained in:
parent
c397dadd76
commit
daa152183c
|
@ -171,9 +171,10 @@ export async function enrichRelationshipSchema(
|
|||
continue
|
||||
}
|
||||
|
||||
const isVisible = !!fieldSchema[relTableFieldName]?.visible
|
||||
const isReadonly = !!fieldSchema[relTableFieldName]?.readonly
|
||||
resultSchema[relTableFieldName] = {
|
||||
visible: isReadonly,
|
||||
visible: isVisible,
|
||||
readonly: isReadonly,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue