mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
fix(frontend): Fix build app from flow (#1954)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user