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:
parent
2a0491542d
commit
4e00ab3b2d
@ -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