mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 16:05:58 +00:00
small fix
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
: capitalize(fieldTypeToTsType(fieldType))}
|
||||
</Badge>
|
||||
|
||||
{#if !onlyStatic && componentInput.type && componentInput.type != 'eval'}
|
||||
{#if !onlyStatic && componentInput?.type && componentInput.type != 'eval'}
|
||||
<ToggleButtonGroup
|
||||
bind:selected={componentInput.type}
|
||||
on:selected={(e) => {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
{#if inputSpecs}
|
||||
<div class="w-full flex flex-col gap-4">
|
||||
{#each Object.keys(inputSpecsConfiguration) as k}
|
||||
{#if inputSpecs[k]?.ctype == undefined}
|
||||
{#if inputSpecs[k] && inputSpecs[k]?.ctype == undefined}
|
||||
{@const meta = inputSpecsConfiguration?.[k]}
|
||||
<!-- {JSON.stringify(meta)} -->
|
||||
<InputsSpecEditor
|
||||
|
||||
Reference in New Issue
Block a user