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:
commit
0409a14a84
@ -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";
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user