@5minds/node-red-dashboard-2-processcube-ui-page-navigation 1.1.0-develop-f35d40-m61wp80a → 1.1.0-develop-1d3817-m61xkysx

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,15 +37,19 @@ module.exports = function (RED) {
37
37
  console.log(`ui-page-navigation pagenName: ${pageName} pageNameMsg: ${msg.payload.page.name} topic: ${msg.topic} conn:${JSON.stringify(conn.id)} id:${id} msg: ${JSON.stringify(msg)}`);
38
38
  if (config.event != 'any' && config.event != msg.topic) return;
39
39
  if (pageName != '' && pageName != msg.payload.page.name) return;
40
- const wNode = RED.nodes.getNode(node.id);
41
- if (!wNode) {
42
- console.log('ui-page-navigation node not found', id);
43
- }
44
40
 
45
- if (wNode) {
46
- msg = addConnectionCredentials(RED, msg, conn, ui);
47
- wNode.send(msg);
48
- }
41
+ msg = addConnectionCredentials(RED, msg, conn, ui);
42
+ node.send(msg);
43
+
44
+ // const wNode = RED.nodes.getNode(node.id);
45
+ // if (!wNode) {
46
+ // console.log('ui-page-navigation node not found', id);
47
+ // }
48
+
49
+ // if (wNode) {
50
+ // msg = addConnectionCredentials(RED, msg, conn, ui);
51
+ // wNode.send(msg);
52
+ // }
49
53
  },
50
54
  },
51
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-dashboard-2-processcube-ui-page-navigation",
3
- "version": "1.1.0-develop-f35d40-m61wp80a",
3
+ "version": "1.1.0-develop-1d3817-m61xkysx",
4
4
  "description": "A node to handle the navigation between pages in the Node-RED Dashboard",
5
5
  "keywords": [
6
6
  "node-red",