@flowfuse/nr-assistant 0.1.1-1e916c9-202407091341.0 → 0.1.1-8808f91-202407101151.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.
Files changed (2) hide show
  1. package/index.html +4 -1
  2. package/package.json +1 -1
package/index.html CHANGED
@@ -701,6 +701,9 @@
701
701
  }
702
702
 
703
703
  function importFlow (flow, addFlow) {
704
+ if (RED.workspaces.isLocked && RED.workspaces.isLocked()) {
705
+ addFlow = true // force import to create a new tab
706
+ }
704
707
  let newNodes = flow
705
708
  try {
706
709
  if (typeof flow === 'string') {
@@ -755,4 +758,4 @@
755
758
  }
756
759
  }
757
760
  }(RED, $))
758
- </script>
761
+ </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/nr-assistant",
3
- "version": "0.1.1-1e916c9-202407091341.0",
3
+ "version": "0.1.1-8808f91-202407101151.0",
4
4
  "description": "FlowFuse Node-RED assistant plugin",
5
5
  "main": "index.js",
6
6
  "scripts": {