mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 00:04:10 +00:00
improve runnable picker of app
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
(schemaStripped = stripSchema(fields, $stateId))
|
||||
|
||||
function stripSchema(inputs: AppInputs, s: any): Schema {
|
||||
console.log('Strip schema', inputs)
|
||||
if (inputs === undefined) {
|
||||
return emptySchema()
|
||||
}
|
||||
@@ -665,6 +666,7 @@
|
||||
: 'invisible h-0 overflow-hidden'}"
|
||||
style={wrapperStyle}
|
||||
>
|
||||
<!-- {Object.keys(schemaStripped?.properties ?? {}).length > 0} -->
|
||||
{#if render && (autoRefresh || forceSchemaDisplay) && schemaStripped && Object.keys(schemaStripped?.properties ?? {}).length > 0}
|
||||
<div class="px-2 h-fit min-h-0">
|
||||
<LightweightSchemaForm
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
type: 'runnableByPath',
|
||||
path,
|
||||
runType: 'script',
|
||||
schema,
|
||||
schema: schema.schema,
|
||||
name: defaultIfEmptyString(schema.summary, path)
|
||||
} as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user