mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge pull request #4399 from kazuhitoyokoi/master-fixrepeat4inject
Fix unintended new line in node name
This commit is contained in:
commit
1451fb9e2f
@ -320,7 +320,7 @@
|
|||||||
}
|
}
|
||||||
// but replace with repeat one if set to repeat
|
// but replace with repeat one if set to repeat
|
||||||
if ((this.repeat && this.repeat != 0) || this.crontab) {
|
if ((this.repeat && this.repeat != 0) || this.crontab) {
|
||||||
suffix = " ↻";
|
suffix = "\t↻";
|
||||||
}
|
}
|
||||||
if (this.name) {
|
if (this.name) {
|
||||||
return this.name+suffix;
|
return this.name+suffix;
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
},
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
var suffix = "";
|
var suffix = "";
|
||||||
if (this.console === true || this.console === "true") { suffix = " ⇲"; }
|
if (this.console === true || this.console === "true") { suffix = "\t⇲"; }
|
||||||
if (this.targetType === "jsonata") {
|
if (this.targetType === "jsonata") {
|
||||||
return (this.name || "JSONata") + suffix;
|
return (this.name || "JSONata") + suffix;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user