You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my custom UI node, when I send messages as 'widget-action' (this.$socket.emit('widget-action', this.id, msg)), their topic property is getting overrun and becomes undefined.
This happens also in the generic ui-template node. Using this.send(msg) works OK, but using emit to 'widget-action' overwrites the topic property.
For example, injecting a msg with msg.topic='myTopic' to the template:
Current Behavior
I have upgraded my dashboard-2 to v1.23.0.
In my custom UI node, when I send messages as
'widget-action' (this.$socket.emit('widget-action', this.id, msg)
), theirtopic
property is getting overrun and becomesundefined
.This happens also in the generic ui-template node. Using
this.send(msg)
works OK, but usingemit
to 'widget-action' overwrites the topic property.For example, injecting a msg with msg.topic='myTopic' to the template:
returns the following result:

This was not happening on previous dashboard versions.
Expected Behavior
msg.topic
should not be overwrittenSteps To Reproduce
set a
msg.topic
value, and emit a message to 'widget-action' using$socket.emit('widget-action', this.id, msg)
Environment
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate
The text was updated successfully, but these errors were encountered: