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" : { },