mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	implemented "targetRelationCount" and exposed more of them in order by widget, fixes #1658
This commit is contained in:
		| @@ -46,6 +46,10 @@ class Attribute { | ||||
|             || (this.type === 'relation' && this.name === 'template'); | ||||
|     } | ||||
|  | ||||
|     isAutoLink() { | ||||
|         return this.type === 'relation' && ['internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink'].includes(this.name); | ||||
|     } | ||||
|  | ||||
|     get note() { | ||||
|         return this.noteCache.notes[this.noteId]; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user