Don't show non visible even if previously configured

This commit is contained in:
Adria Navarro 2024-09-06 13:39:04 +02:00
parent d799bfacb6
commit 4aa9e08ec5
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ export const deriveStores = context => {
const { field: relField, subField: relSubField } =
$schemaOverrides[field].related
if (!$schema[relField]?.columns?.[relSubField]?.visible) {
return
}
enrichedSchema[field] = {
...$schemaOverrides[field],
name: field,