mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	link map WIP
This commit is contained in:
		@@ -56,6 +56,10 @@ class Attribute extends AbstractEntity {
 | 
			
		||||
            || (this.type === 'relation' && this.name === 'template');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    get targetNoteId() { // alias
 | 
			
		||||
        return this.type === 'relation' ? this.value : undefined;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    isAutoLink() {
 | 
			
		||||
        return this.type === 'relation' && ['internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink'].includes(this.name);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user