mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 08:02:40 +00:00
fix add property not in portal
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
import Toggle from './Toggle.svelte'
|
||||
import Tooltip from './Tooltip.svelte'
|
||||
import { flip } from 'svelte/animate'
|
||||
import Portal from 'svelte-portal'
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
@@ -178,8 +179,10 @@
|
||||
/>
|
||||
<div class="ml-2">
|
||||
<Tooltip>
|
||||
Arguments can be edited either using the wizard, or by editing their JSON Schema,
|
||||
<a href="https://docs.windmill.dev/docs/reference/#script-parameters-to-json-schema">see docs</a>
|
||||
Arguments can be edited either using the wizard, or by editing their JSON Schema,
|
||||
<a href="https://docs.windmill.dev/docs/reference/#script-parameters-to-json-schema"
|
||||
>see docs</a
|
||||
>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
@@ -281,11 +284,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<SchemaModal
|
||||
bind:this={schemaModal}
|
||||
bind:property={modalProperty}
|
||||
bind:error={argError}
|
||||
on:save={handleAddOrEditArgument}
|
||||
bind:editing
|
||||
bind:oldArgName
|
||||
/>
|
||||
<Portal>
|
||||
<SchemaModal
|
||||
bind:this={schemaModal}
|
||||
bind:property={modalProperty}
|
||||
bind:error={argError}
|
||||
on:save={handleAddOrEditArgument}
|
||||
bind:editing
|
||||
bind:oldArgName
|
||||
/>
|
||||
</Portal>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
export let name: string
|
||||
export let inlineScript: InlineScript | undefined
|
||||
export let fields: Record<string, StaticAppInput | ConnectedAppInput | RowAppInput | UserAppInput>
|
||||
export let autoRefresh: boolean
|
||||
export let doNotRecomputeOnInputChanged: boolean = false
|
||||
|
||||
let result: any = undefined
|
||||
|
||||
@@ -160,7 +160,6 @@
|
||||
inlineScript={script.inlineScript}
|
||||
name={script.name}
|
||||
fields={script.fields}
|
||||
autoRefresh={script.autoRefresh ?? true}
|
||||
/>
|
||||
{/if}
|
||||
{/each}
|
||||
|
||||
@@ -176,7 +176,6 @@
|
||||
inlineScript={script.inlineScript}
|
||||
name={script.name}
|
||||
fields={script.fields}
|
||||
autoRefresh={script.autoRefresh ?? true}
|
||||
doNotRecomputeOnInputChanged={script.doNotRecomputeOnInputChanged}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user