From bc0268481b4e29feb12829e6cd6759b3ef1f72bf Mon Sep 17 00:00:00 2001 From: mschlgl Date: Thu, 12 Dec 2024 15:41:50 +0100 Subject: [PATCH] configurable watch node --- .../node_modules/@node-red/nodes/core/storage/23-watch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/storage/23-watch.html b/packages/node_modules/@node-red/nodes/core/storage/23-watch.html index 69d3a14d9..946398ad5 100644 --- a/packages/node_modules/@node-red/nodes/core/storage/23-watch.html +++ b/packages/node_modules/@node-red/nodes/core/storage/23-watch.html @@ -67,7 +67,7 @@ // function added to set node input number oneditsave: function() { // if controlled by msg there has to be a input - this.inputs = $("#node-input-filesType")[0].attributes.value.value == "msg"?1:0; + this.inputs = $("#node-input-filesType").typedInput("type") === "msg" ? 1 : 0; return; } });