mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	simplification of tree cache
This commit is contained in:
		@@ -250,7 +250,9 @@ async function loadNoteDetail(origNotePath, options = {}) {
 | 
			
		||||
async function loadNote(noteId) {
 | 
			
		||||
    const row = await server.get('notes/' + noteId);
 | 
			
		||||
 | 
			
		||||
    return new NoteFull(treeCache, row);
 | 
			
		||||
    const noteShort = await treeCache.getNote(noteId);
 | 
			
		||||
 | 
			
		||||
    return new NoteFull(treeCache, row, noteShort);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
async function filterTabs(noteId) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user