From 08996aab0d0ec01d4f50781909ee655cb749cd4f Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Fri, 28 Jul 2023 10:33:29 +0200 Subject: [PATCH] fix(frontend): Fix build app from flow (#1954) --- frontend/src/lib/components/details/createAppFromScript.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/details/createAppFromScript.ts b/frontend/src/lib/components/details/createAppFromScript.ts index 7ae9598d52..9ef197c7b0 100644 --- a/frontend/src/lib/components/details/createAppFromScript.ts +++ b/frontend/src/lib/components/details/createAppFromScript.ts @@ -451,7 +451,7 @@ export function createAppFromFlow(path: string, schema: Record | un componentInput: { type: 'static', fieldType: 'schema', - value: convertSchemaToFields(schema) + value: schema }, customCss: {}, id: 'c' @@ -599,7 +599,7 @@ export function createAppFromFlow(path: string, schema: Record | un componentInput: { type: 'runnable', fieldType: 'any', - fields: {}, + fields: convertSchemaToFields(schema), runnable: { type: 'runnableByPath', path: path,