From 680bd7915c4d27cc6dcda7d8560e35d14e70fc74 Mon Sep 17 00:00:00 2001 From: GogoVega <92022724+GogoVega@users.noreply.github.com> Date: Sat, 2 Dec 2023 13:57:34 +0100 Subject: [PATCH] Fix brackets required to pass building --- .../node_modules/@node-red/editor-client/src/js/ui/editor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index c91f54ee2..0ae63cfe3 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -241,7 +241,9 @@ RED.editor = (function() { const typedInput = input.closest("div").find("input[class='red-ui-typedInput']"); const typeField = typedInput.data("noderedTypedInput")?.typeField; const isTypeField = input.is(typeField); - if (isTypeField) input = typedInput; + if (isTypeField) { + input = typedInput; + } } const valid = validateNodeProperty(node, defaults, property, value); if (((typeof valid) === "string") || !valid) {