mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	fix numeric status not displaying by ensuring it's a string
This commit is contained in:
		| @@ -414,6 +414,12 @@ class Flow { | ||||
|             reportingNode = node; | ||||
|         } | ||||
|         if (!muteStatusEvent) { | ||||
|             if (statusMessage.hasOwnProperty("text") && typeof(statusMessage.text !== "string")) { | ||||
|                 try { | ||||
|                     statusMessage.text = statusMessage.text.toString(); | ||||
|                 } | ||||
|                 catch(e) {} | ||||
|             } | ||||
|             events.emit("node-status",{ | ||||
|                 id: node.id, | ||||
|                 status:statusMessage | ||||
|   | ||||
		Reference in New Issue
	
	Block a user