mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
renamed treeCache into froca
This commit is contained in:
@@ -3,7 +3,7 @@ import appContext from "./app_context.js";
|
||||
import utils from './utils.js';
|
||||
import noteCreateService from './note_create.js';
|
||||
import treeService from './tree.js';
|
||||
import treeCache from "./tree_cache.js";
|
||||
import froca from "./tree_cache.js";
|
||||
|
||||
// this key needs to have this value so it's hit by the tooltip
|
||||
const SELECTED_NOTE_PATH_KEY = "data-note-path";
|
||||
@@ -252,7 +252,7 @@ function init() {
|
||||
}
|
||||
|
||||
$.fn.setNote = async function (noteId) {
|
||||
const note = noteId ? await treeCache.getNote(noteId, true) : null;
|
||||
const note = noteId ? await froca.getNote(noteId, true) : null;
|
||||
|
||||
$(this)
|
||||
.val(note ? note.title : "")
|
||||
|
||||
Reference in New Issue
Block a user