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

fix delay node name when using random setting

This commit is contained in:
Ben Hardill 2014-03-25 11:09:38 +00:00
parent 2a0491542d
commit 4e00ab3b2d

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";
}, },