diff --git a/app/src/layouts/tabular/index.ts b/app/src/layouts/tabular/index.ts index 79bf9678ee..1d584a37fb 100644 --- a/app/src/layouts/tabular/index.ts +++ b/app/src/layouts/tabular/index.ts @@ -146,9 +146,7 @@ export default defineLayout({ primaryKeyField.value ? [primaryKeyField.value?.field] : [] ); - const fields = syncRefProperty( - layoutQuery, - 'fields', + const fields = syncRefProperty(layoutQuery, 'fields', () => fieldsInCollection.value .filter((field: Field) => !field.meta?.hidden) .slice(0, 4)