lazy loading of note detail components

This commit is contained in:
zadam
2019-08-26 19:49:19 +02:00
parent ecb485c8bc
commit 3e3d111d76
2 changed files with 31 additions and 28 deletions

View File

@@ -191,7 +191,7 @@ async function renderComponent(ctx) {
* @param {NoteFull} note
*/
async function loadNoteDetailToContext(ctx, note, notePath) {
ctx.setNote(note, notePath);
await ctx.setNote(note, notePath);
openTabsChanged();