From 637464e8b0b542ec9b4949c1c7ad90983f350b4b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 29 Aug 2024 13:22:50 +0200 Subject: [PATCH] Fix --- packages/server/src/sdk/app/views/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/sdk/app/views/index.ts b/packages/server/src/sdk/app/views/index.ts index ab4b82d162..d52bdc65d6 100644 --- a/packages/server/src/sdk/app/views/index.ts +++ b/packages/server/src/sdk/app/views/index.ts @@ -202,7 +202,7 @@ export async function enrichSchema( const viewSchema = view.schema || {} const anyViewOrder = Object.values(viewSchema).some(ui => ui.order != null) - for (const key of Object.keys(schema)) { + for (const key of Object.keys(viewSchema)) { // if nothing specified in view, then it is not visible const ui = viewSchema[key] || { visible: false } schema[key] = {