mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
fix In
This commit is contained in:
@@ -17,14 +17,15 @@
|
||||
getContext<FlowEditorContext | undefined>('FlowEditorContext') || {}
|
||||
|
||||
onMount(() => {
|
||||
testSteps?.updateStepArgs(id, flowStateStore, flowStore?.val, previewArgs?.val)
|
||||
testSteps?.updateStepArgs(id, flowStateStore?.val, flowStore?.val, previewArgs?.val)
|
||||
})
|
||||
|
||||
const input = $derived(testSteps?.getStepArgs(id)?.value)
|
||||
</script>
|
||||
|
||||
<div class="p-4 pr-6 h-full overflow-y-auto">
|
||||
<ObjectViewer json={input} {inputTransform} {metaData} {editKey} />
|
||||
<!-- {JSON.stringify({ inputTransform, input })} -->
|
||||
<ObjectViewer json={input} {metaData} {editKey} />
|
||||
</div>
|
||||
|
||||
{#snippet metaData(key: string)}
|
||||
|
||||
@@ -12,7 +12,7 @@ export class TestSteps {
|
||||
#stepsEvaluated = $state<Record<string, ModuleArgs>>({})
|
||||
#steps = $state<Record<string, { value: any }>>({})
|
||||
|
||||
constructor() {}
|
||||
constructor() { }
|
||||
|
||||
setStepArgsManually(moduleId: string, args: Record<string, any>) {
|
||||
if (!this.#steps[moduleId]) {
|
||||
|
||||
Reference in New Issue
Block a user