hoisting note now seems to work correctly in relation to tabs

This commit is contained in:
zadam
2019-05-11 21:27:27 +02:00
parent bd97df5ee9
commit 2dec8f1ad6
7 changed files with 84 additions and 53 deletions

View File

@@ -79,7 +79,7 @@ async function protectNoteAndSendToServer() {
const note = noteDetailService.getActiveNote();
note.isProtected = true;
await noteDetailService.getActiveContext().saveNote();
await noteDetailService.getActiveTabContext().saveNote();
treeService.setProtected(note.noteId, note.isProtected);
@@ -106,7 +106,7 @@ async function unprotectNoteAndSendToServer() {
activeNote.isProtected = false;
await noteDetailService.getActiveContext().saveNote();
await noteDetailService.getActiveTabContext().saveNote();
treeService.setProtected(activeNote.noteId, activeNote.isProtected);