|  | @@ -1400,8 +1400,9 @@ const createNewPathTree = function (type, setting) {
 | 
	
		
			
				|  |  |              this.Locked = ids || [];
 | 
	
		
			
				|  |  |              for (const f of this.Locked) {
 | 
	
		
			
				|  |  |                  f.locked_ledger_id = f.ass_ledger_id ? f.ass_ledger_id.split(',') : (f.audit_ledger_id ? f.audit_ledger_id.split(',') : []);
 | 
	
		
			
				|  |  | -                for (const id of f.ass_ledger_id) {
 | 
	
		
			
				|  |  | +                for (const id of f.locked_ledger_id) {
 | 
	
		
			
				|  |  |                      const node = this.getItems(id);
 | 
	
		
			
				|  |  | +                    if (!node) continue;
 | 
	
		
			
				|  |  |                      node.locked = true;
 | 
	
		
			
				|  |  |                      const posterity = this.getPosterity(node);
 | 
	
		
			
				|  |  |                      for (const pn of posterity) {
 |