fix export root note

This commit is contained in:
zadam
2020-09-19 22:47:14 +02:00
parent 07bd5129ca
commit 7ee50113d7
3 changed files with 8 additions and 3 deletions

View File

@@ -276,6 +276,10 @@ class TreeCache {
}
async getBranchId(parentNoteId, childNoteId) {
if (childNoteId === 'root') {
return 'root';
}
const child = await this.getNote(childNoteId);
if (!child) {