button for creating subnote in relation map and other unrelated changed, WIP

This commit is contained in:
azivner
2018-10-31 12:29:01 +01:00
parent 639284fd85
commit 4858f0bec6
9 changed files with 87 additions and 14 deletions

View File

@@ -187,6 +187,12 @@ async function loadNoteDetail(noteId) {
noteTypeService.setNoteType(currentNote.type);
noteTypeService.setNoteMime(currentNote.mime);
for (const componentType in components) {
if (componentType !== currentNote.type) {
components[componentType].cleanup();
}
}
$noteDetailComponents.hide();
const newSessionCreated = await handleProtectedSession();