mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	getOwnedAttributes() should not make a copy, consistent with similar methods
This commit is contained in:
		
							parent
							
								
									42c8059ae1
								
							
						
					
					
						commit
						85a75fc186
					
				@ -731,7 +731,7 @@ class BNote extends AbstractBeccaEntity {
 | 
				
			|||||||
            return this.ownedAttributes.filter(attr => attr.name === name);
 | 
					            return this.ownedAttributes.filter(attr => attr.name === name);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        else {
 | 
					        else {
 | 
				
			||||||
            return this.ownedAttributes.slice();
 | 
					            return this.ownedAttributes;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user