mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Propagate expanded state all the way to the root
This commit is contained in:
		| @@ -199,7 +199,10 @@ function enableBreadcrumbTree(options) { | ||||
| 						} | ||||
|  | ||||
|                         if (node.state.expanded) { | ||||
|                             nodes[node.parent].state.expanded = true; | ||||
| 							while (node.parent != null) { | ||||
| 								nodes[node.parent].state.expanded = true; | ||||
| 								node = nodes[node.parent] | ||||
| 							} | ||||
|                         } | ||||
|                          | ||||
|                     } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user