mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Make sure all notes are loaded on startup
This commit is contained in:
@ -88,6 +88,7 @@ class GitNoteRepository {
|
|||||||
if (!note.filePath.toLowerCase().endsWith('.md')) {
|
if (!note.filePath.toLowerCase().endsWith('.md')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
await note.load();
|
||||||
notes.add(note);
|
notes.add(note);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user