mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix attribute cache invalidation
This commit is contained in:
		
							parent
							
								
									1810116a34
								
							
						
					
					
						commit
						b4d9fdaeda
					
				@ -107,8 +107,8 @@ export default class LoadResults {
 | 
			
		||||
     *          notably changes in note itself should not have any effect on attributes
 | 
			
		||||
     */
 | 
			
		||||
    hasAttributeRelatedChanges() {
 | 
			
		||||
        return this.branches.length === 0
 | 
			
		||||
            && this.attributes.length === 0;
 | 
			
		||||
        return this.branches.length > 0
 | 
			
		||||
            || this.attributes.length > 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    isEmpty() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user