allow refreshing saved note, closes #304

This commit is contained in:
azivner
2019-01-08 23:32:03 +01:00
parent 05aee884b6
commit c8ec86e537
4 changed files with 22 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ async function prepareNode(branch) {
extraClasses: await getExtraClasses(note),
icon: await getIcon(note),
refKey: note.noteId,
expanded: (note.type !== 'search' && branch.isExpanded) || hoistedNoteId === note.noteId
expanded: branch.isExpanded || hoistedNoteId === note.noteId
};
if (note.hasChildren() || note.type === 'search') {