Skip to content

Commit eeea8e5

Browse files
author
Dave Conway-Jones
committed
add indicator for fire once on inject node
1 parent 8d52867 commit eeea8e5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

nodes/core/core/20-inject.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@
201201
icon: "inject.png",
202202
label: function() {
203203
var suffix = "";
204+
// if fire once then add small indication
205+
if (this.once) {
206+
suffix = " ¹";
207+
}
208+
// but replace with repeat one if set to repeat
204209
if (this.repeat || this.crontab) {
205210
suffix = " ↻";
206211
}

0 commit comments

Comments
 (0)