mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge pull request #4644 from node-red/resyn-dev
Resync recent fixes from master to dev
This commit is contained in:
		| @@ -29,6 +29,15 @@ Nodes | ||||
|  - Let debug node status msg length be settable via settings (#4402) @dceejay | ||||
|  - Feat: Add ability to set headers for WebSocket client (#4436) @marcus-j-davies | ||||
|  | ||||
| #### 3.1.8: Maintenance Release | ||||
|  | ||||
|  - Add validation and error handling on subflow instance properties (#4632) @knolleary | ||||
|  - Hide import/export context menu if disabled in theme (#4633) @knolleary | ||||
|  - Show change indicator on subflow tabs (#4631) @knolleary | ||||
|  - Bump dependencies (#4630) @knolleary | ||||
|  - Reset workspace index when clearing nodes (#4619) @knolleary | ||||
|  - Remove typo in global config (#4613) @kazuhitoyokoi | ||||
|  | ||||
| #### 3.1.7: Maintenance Release | ||||
|  | ||||
|  - Add Japanese translation for v3.1.6 (#4603) @kazuhitoyokoi | ||||
|   | ||||
| @@ -158,8 +158,10 @@ RED.sidebar.help = (function() { | ||||
|  | ||||
|     function refreshSubflow(sf) { | ||||
|         var item = treeList.treeList('get',"node-type:subflow:"+sf.id); | ||||
|         item.subflowLabel = sf._def.label().toLowerCase(); | ||||
|         item.treeList.replaceElement(getNodeLabel({_def:sf._def,type:sf._def.label()})); | ||||
|         if (item) { | ||||
|             item.subflowLabel = sf._def.label().toLowerCase(); | ||||
|             item.treeList.replaceElement(getNodeLabel({_def:sf._def,type:sf._def.label()})); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     function hideTOC() { | ||||
|   | ||||
| @@ -378,7 +378,7 @@ | ||||
|                             return { id: id, label: RED.nodes.workspace(id).label } //flow id + name | ||||
|                         } else { | ||||
|                             const instanceNode = RED.nodes.node(id) | ||||
|                             const pathLabel = (instanceNode.name || RED.nodes.subflow(instanceNode.type.substring(8)).name) | ||||
|                             const pathLabel = (instanceNode.name || RED.nodes.subflow(instanceNode.type.substring(8))?.name || instanceNode.type) | ||||
|                             return { id: id, label: pathLabel } | ||||
|                         } | ||||
|                     }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user