fix(frontend): Fix build app from flow (#1954)

This commit is contained in:
Faton Ramadani
2023-07-28 10:33:29 +02:00
committed by GitHub
parent e5f9ada00c
commit 08996aab0d
@@ -451,7 +451,7 @@ export function createAppFromFlow(path: string, schema: Record<string, any> | 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<string, any> | un
componentInput: {
type: 'runnable',
fieldType: 'any',
fields: {},
fields: convertSchemaToFields(schema),
runnable: {
type: 'runnableByPath',
path: path,