mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 16:03:27 +00:00
feat: add GOPROXY + fix on saved inputs
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
export let scriptPath: string | null = null
|
||||
export let flowPath: string | null = null
|
||||
|
||||
let runnableId: string | undefined = scriptHash || scriptPath || flowPath || undefined
|
||||
let runnableId: string | undefined = scriptPath || flowPath || undefined
|
||||
let runnableType: RunnableType | undefined = scriptHash
|
||||
? RunnableType.SCRIPT_HASH
|
||||
: scriptPath
|
||||
@@ -146,7 +146,7 @@
|
||||
<div class="w-full flex justify-between items-center gap-4 flex-wrap">
|
||||
<span class="text-sm font-extrabold flex-shrink-0"
|
||||
>Saved Inputs <Tooltip
|
||||
>Shared tooltips are available to anyone with access to the script</Tooltip
|
||||
>Shared inputs are available to anyone with access to the script</Tooltip
|
||||
></span
|
||||
>
|
||||
<Button
|
||||
|
||||
@@ -205,15 +205,17 @@
|
||||
</div>
|
||||
</Pane>
|
||||
<Pane size={$savedInputPaneSize}>
|
||||
<SavedInputs
|
||||
flowPath={path}
|
||||
{isValid}
|
||||
{args}
|
||||
on:selected_args={(e) => {
|
||||
args = JSON.parse(JSON.stringify(e.detail))
|
||||
reloadArgs += 1
|
||||
}}
|
||||
/>
|
||||
{#if $savedInputPaneSize > 0}
|
||||
<SavedInputs
|
||||
flowPath={path}
|
||||
{isValid}
|
||||
{args}
|
||||
on:selected_args={(e) => {
|
||||
args = JSON.parse(JSON.stringify(e.detail))
|
||||
reloadArgs += 1
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
</Pane>
|
||||
</Splitpanes>
|
||||
</SplitPanesWrapper>
|
||||
|
||||
@@ -267,15 +267,18 @@
|
||||
</Pane>
|
||||
|
||||
<Pane size={$savedInputPaneSize}>
|
||||
<SavedInputs
|
||||
scriptHash={hash}
|
||||
{isValid}
|
||||
{args}
|
||||
on:selected_args={(e) => {
|
||||
args = JSON.parse(JSON.stringify(e.detail))
|
||||
reloadArgs += 1
|
||||
}}
|
||||
/>
|
||||
{#if $savedInputPaneSize > 0}
|
||||
<SavedInputs
|
||||
scriptPath={script?.path}
|
||||
scriptHash={topHash}
|
||||
{isValid}
|
||||
{args}
|
||||
on:selected_args={(e) => {
|
||||
args = JSON.parse(JSON.stringify(e.detail))
|
||||
reloadArgs += 1
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
</Pane>
|
||||
</Splitpanes>
|
||||
</SplitPanesWrapper>
|
||||
|
||||
Reference in New Issue
Block a user