mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 08:02:19 +00:00
fix: fix preprocessor preview
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
}
|
||||
|
||||
export function loadArgsAndRunTest() {
|
||||
console.log('loadArgsAndRunTest', flowStateStore.val)
|
||||
testSteps?.updateStepArgs(mod.id, flowStateStore.val, flowStore?.val, previewArgs?.val)
|
||||
runTest(testSteps.getStepArgs(mod.id)?.value)
|
||||
}
|
||||
|
||||
@@ -143,6 +143,10 @@ export class TestSteps {
|
||||
flow: OpenFlow | undefined,
|
||||
previewArgs: Record<string, any> | undefined
|
||||
) {
|
||||
if (id == 'preprocessor') {
|
||||
this.#steps[id] = { value: {} }
|
||||
return
|
||||
}
|
||||
if (!flowState || !flow) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user