renamed treeCache into froca

This commit is contained in:
zadam
2021-04-16 22:57:37 +02:00
parent 4311834d75
commit af5b1021c7
63 changed files with 292 additions and 292 deletions

View File

@@ -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;