continuing work on hoisting notes

This commit is contained in:
azivner
2018-12-12 20:39:56 +01:00
parent 6fbf28b30d
commit 17d030e800
4 changed files with 27 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
import optionsInit from './options_init.js';
import server from "./server.js";
import tree from "./tree.js";
let hoistedNoteId;
@@ -17,6 +18,8 @@ async function setHoistedNoteId(noteId) {
hoistedNoteId = noteId;
await server.put('options/hoistedNoteId/' + noteId);
await tree.reload();
}
export default {