@flowfuse/node-red-dashboard 1.30.1-d74e2b2-202512211307.0 → 1.30.1-ddb5563-202512211347.0

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.
@@ -201,7 +201,6 @@ module.exports = function (RED) {
201
201
  // When the target was to identify a widget, then the search is over here if a widget has been found
202
202
  if (widgetNode && type === 'widget') {
203
203
  identifiedNodes.push(widgetNode)
204
- return
205
204
  }
206
205
  }
207
206
 
@@ -338,10 +337,10 @@ module.exports = function (RED) {
338
337
  widgets.hide = updateStateStore('widget', widgets.hide, msg, 'visible', false)
339
338
  }
340
339
  if ('enable' in widgets) {
341
- widgets.enable = updateStateStore('widget', widgets.enable, msg, 'disabled', false)
340
+ widgets.enable = updateStateStore('widget', widgets.enable, msg, 'enabled', true)
342
341
  }
343
342
  if ('disable' in widgets) {
344
- widgets.disable = updateStateStore('widget', widgets.disable, msg, 'disabled', true)
343
+ widgets.disable = updateStateStore('widget', widgets.disable, msg, 'enabled', false)
345
344
  }
346
345
 
347
346
  // ensure consistency in payload format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/node-red-dashboard",
3
- "version": "1.30.1-d74e2b2-202512211307.0",
3
+ "version": "1.30.1-ddb5563-202512211347.0",
4
4
  "description": "FlowFuse Dashboard - A collection of Node-RED nodes that provide functionality to build your own UI applications (inc. forms, buttons, charts).",
5
5
  "keywords": [
6
6
  "node-red"