mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure status messages are strings
This commit is contained in:
parent
90b8806e7c
commit
95d20d7fba
@ -86,7 +86,7 @@ var RED = (function() {
|
|||||||
var node = RED.nodes.node(parts[1]);
|
var node = RED.nodes.node(parts[1]);
|
||||||
if (node) {
|
if (node) {
|
||||||
if (msg.text) {
|
if (msg.text) {
|
||||||
msg.text = node._(msg.text,{defaultValue:msg.text});
|
msg.text = node._(msg.text.toString(),{defaultValue:msg.text.toString()});
|
||||||
}
|
}
|
||||||
node.status = msg;
|
node.status = msg;
|
||||||
if (statusEnabled) {
|
if (statusEnabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user