mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
small fixes
This commit is contained in:
@@ -182,7 +182,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
async function evalExpr(input: EvalAppInput): Promise<any> {
|
||||
async function evalExpr(input: EvalAppInput | EvalV2AppInput): Promise<any> {
|
||||
if (iterContext && $iterContext.disabled) return
|
||||
try {
|
||||
const r = await eval_like(
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
staticRunnableInputs[k] = field.value
|
||||
} else if (field?.type == 'user') {
|
||||
nonStaticRunnableInputs[k] = args?.[k]
|
||||
} else if (field?.type == 'eval' && inputValues[k]) {
|
||||
} else if (field?.type == 'eval' || (field?.type == 'evalv2' && inputValues[k])) {
|
||||
nonStaticRunnableInputs[k] = await inputValues[k]?.computeExpr()
|
||||
} else {
|
||||
nonStaticRunnableInputs[k] = runnableInputValues[k]
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
import { Delete, ExternalLink } from 'lucide-svelte'
|
||||
import GridCondition from './GridCondition.svelte'
|
||||
import { isTriggerable } from './script/utils'
|
||||
import ScriptSettingsSection from './script/shared/ScriptSettingsSection.svelte'
|
||||
|
||||
export let componentSettings: { item: GridItem; parent: string | undefined } | undefined =
|
||||
undefined
|
||||
|
||||
Reference in New Issue
Block a user