diff --git a/nodes/core/core/20-inject.html b/nodes/core/core/20-inject.html index 66609f3e5..a7c6b9bc7 100644 --- a/nodes/core/core/20-inject.html +++ b/nodes/core/core/20-inject.html @@ -138,7 +138,12 @@ icon: "inject.png", label: function() { if (this.payloadType === "string") { - return this.name||this.topic||this.payload||"inject"; + if (this.topic !== "") { + return this.name||this.topic +" : "+this.payload||this.topic; + } + else { + return this.name||this.payload||this.topic||"inject"; + } } else { return this.name||this.topic||"inject"; } },