1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #183 from hardillb/master

fix delay node name when using random setting
This commit is contained in:
Nick O'Leary 2014-03-25 23:24:22 +00:00
commit 0409a14a84

View File

@ -103,7 +103,7 @@
var units = this.rateUnits ? this.rateUnits.charAt(0) : "s"; var units = this.rateUnits ? this.rateUnits.charAt(0) : "s";
return this.name||"limit "+this.rate+" msg/"+ units; return this.name||"limit "+this.rate+" msg/"+ units;
} else if (this.pauseType == "random") { } else if (this.pauseType == "random") {
return "random"; return this.name || "random";
} }
return "foo"; return "foo";
}, },