quick unhoist link/button

This commit is contained in:
azivner
2018-12-15 20:29:08 +01:00
parent a680bb4612
commit 841420360e
6 changed files with 27 additions and 4 deletions

View File

@@ -22,7 +22,12 @@ async function setHoistedNoteId(noteId) {
await tree.reload();
}
async function unhoist() {
await setHoistedNoteId('root');
}
export default {
getHoistedNoteId,
setHoistedNoteId
setHoistedNoteId,
unhoist
}