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
I'm receiving messages in dashboard ui-template nodes as follows:
<script type="text/javascript">
var $scope = this.scope;
(function(scope) {
$scope.$watch('msg', function(msg)
{
if (msg)
console.log(`Incoming msg: payload=${msg.payload||"None"}`);
// Process the msg
});
})(scope);
</script>
When I load the page (dashboard tab) directly (using .../ui/#!/<n>), everything works OK. However, if I move to this page from another dashboard tab (using the dashboard's hamburger menu), the last received msg is automatically sent again into the template node.
Am I doing something wrong?
Expected Behavior
No response
Steps To Reproduce
Consider the following flow:
I injected a timestamp to the template node, then moved to another tab and came back. The previous timestamp message was resent automatically:
Note that I have unchecked the "Reload last value on refresh" in the template node
Hi - this repository is for the core of Node-RED. As this appears to be a node-red-dashboard related issue/question, I'm going to transfer the issue over to that repo.
Current Behavior
I'm receiving messages in dashboard ui-template nodes as follows:
When I load the page (dashboard tab) directly (using .../ui/#!/<n>), everything works OK. However, if I move to this page from another dashboard tab (using the dashboard's hamburger menu), the last received msg is automatically sent again into the template node.
Am I doing something wrong?
Expected Behavior
No response
Steps To Reproduce
Consider the following flow:
I injected a timestamp to the template node, then moved to another tab and came back. The previous timestamp message was resent automatically:
Note that I have unchecked the "Reload last value on refresh" in the template node
Example flow
Environment
The text was updated successfully, but these errors were encountered: