mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	renamed treeCache into froca
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
import ws from "./ws.js";
 | 
			
		||||
import treeCache from "./tree_cache.js";
 | 
			
		||||
import froca from "./tree_cache.js";
 | 
			
		||||
 | 
			
		||||
async function renderAttribute(attribute, renderIsInheritable) {
 | 
			
		||||
    const isInheritable = renderIsInheritable && attribute.isInheritable ? `(inheritable)` : '';
 | 
			
		||||
@@ -48,7 +48,7 @@ function formatValue(val) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
async function createNoteLink(noteId) {
 | 
			
		||||
    const note = await treeCache.getNote(noteId);
 | 
			
		||||
    const note = await froca.getNote(noteId);
 | 
			
		||||
 | 
			
		||||
    if (!note) {
 | 
			
		||||
        return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user