diff --git a/docker/DockerfileCli b/docker/DockerfileCli new file mode 100644 index 0000000000..e69de29bb2 diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte index f513112180..40507bbf27 100644 --- a/frontend/src/lib/components/InputTransformForm.svelte +++ b/frontend/src/lib/components/InputTransformForm.svelte @@ -287,6 +287,7 @@ arg.value = undefined } arg.expr = undefined + arg.type = 'static' } } else { if (arg) { diff --git a/frontend/src/lib/utils.ts b/frontend/src/lib/utils.ts index 7bfe108715..069f9ccb7c 100644 --- a/frontend/src/lib/utils.ts +++ b/frontend/src/lib/utils.ts @@ -662,7 +662,10 @@ export function toCamel(s: string) { }) } -export function cleanExpr(expr: string): string { +export function cleanExpr(expr: string | undefined): string { + if (!expr) { + return '' + } return expr .split('\n') .filter((x) => x != '' && !x.startsWith(`import `))