mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
various small fixes
This commit is contained in:
@@ -21,12 +21,12 @@ class SimilarNotesWidget extends StandardWidget {
|
||||
|
||||
const noteIds = similarNotes.flatMap(note => note.notePath);
|
||||
|
||||
await treeCache.getNotes(noteIds); // preload all at once
|
||||
await treeCache.getNotes(noteIds, true); // preload all at once
|
||||
|
||||
const $list = $('<ul>');
|
||||
|
||||
for (const similarNote of similarNotes) {
|
||||
const note = await treeCache.getNote(similarNote.noteId);
|
||||
const note = await treeCache.getNote(similarNote.noteId, true);
|
||||
|
||||
if (!note) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user