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
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const isVisible = !!fieldSchema[relTableFieldName]?.visible
|
||||||
const isReadonly = !!fieldSchema[relTableFieldName]?.readonly
|
const isReadonly = !!fieldSchema[relTableFieldName]?.readonly
|
||||||
resultSchema[relTableFieldName] = {
|
resultSchema[relTableFieldName] = {
|
||||||
visible: isReadonly,
|
visible: isVisible,
|
||||||
readonly: isReadonly,
|
readonly: isReadonly,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue