From cabf2889e54ab365911ec45ecd44b59964869666 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 19 Sep 2019 09:25:44 +0100 Subject: [PATCH] Bump Smooth node for PR and add output labels --- function/smooth/17-smooth.html | 1 + function/smooth/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/function/smooth/17-smooth.html b/function/smooth/17-smooth.html index 1b22a635..9658a7ce 100644 --- a/function/smooth/17-smooth.html +++ b/function/smooth/17-smooth.html @@ -77,6 +77,7 @@ labelStyle: function() { return this.name ? "node_label_italic" : ""; }, + outputLabels: function() { return this.reduce === true ? (this.action+" of "+this.count) : (this.action); }, oneditprepare: function() { if (this.property === undefined) { $("#node-input-property").val("payload"); diff --git a/function/smooth/package.json b/function/smooth/package.json index 198a625d..2be74523 100644 --- a/function/smooth/package.json +++ b/function/smooth/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-smooth", - "version" : "0.1.0", + "version" : "0.1.1", "description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.", "dependencies" : { },