mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
add indicator for fire once on inject node
This commit is contained in:
parent
8d5286703f
commit
eeea8e530e
@ -201,6 +201,11 @@
|
||||
icon: "inject.png",
|
||||
label: function() {
|
||||
var suffix = "";
|
||||
// if fire once then add small indication
|
||||
if (this.once) {
|
||||
suffix = " ¹";
|
||||
}
|
||||
// but replace with repeat one if set to repeat
|
||||
if (this.repeat || this.crontab) {
|
||||
suffix = " ↻";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user