From f50c73a3cb4a7148f401d77e4d4a64b14ad54df9 Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:53:01 +0300 Subject: [PATCH] fix(Code Node): Replace tab character with spaces in placeholder (no-changelog) (#9577) --- packages/editor-ui/src/components/CodeNodeEditor/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/CodeNodeEditor/constants.ts b/packages/editor-ui/src/components/CodeNodeEditor/constants.ts index 177f113bf2..d9dcaccabd 100644 --- a/packages/editor-ui/src/components/CodeNodeEditor/constants.ts +++ b/packages/editor-ui/src/components/CodeNodeEditor/constants.ts @@ -56,7 +56,7 @@ return $input.item;`.trim(), runOnceForAllItems: ` # Loop over input items and add a new field called 'myNewField' to the JSON of each one for item in _input.all(): - item.json.myNewField = 1 + item.json.myNewField = 1 return _input.all()`.trim(), runOnceForEachItem: ` # Add a new field called 'myNewField' to the JSON of the item