always keep all the ancestors in the cache WIP

This commit is contained in:
zadam
2020-03-18 22:42:29 +01:00
parent 4a89df7ebf
commit 48c57c7ce7
13 changed files with 28 additions and 28 deletions

View File

@@ -2,7 +2,7 @@ import server from "./server.js";
import bundleService from "./bundle.js";
async function render(note, $el) {
const relations = await note.getRelations('renderNote');
const relations = note.getRelations('renderNote');
const renderNoteIds = relations
.map(rel => rel.value)
.filter(noteId => noteId);