mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
fix export root note
This commit is contained in:
@@ -276,6 +276,10 @@ class TreeCache {
|
||||
}
|
||||
|
||||
async getBranchId(parentNoteId, childNoteId) {
|
||||
if (childNoteId === 'root') {
|
||||
return 'root';
|
||||
}
|
||||
|
||||
const child = await this.getNote(childNoteId);
|
||||
|
||||
if (!child) {
|
||||
|
||||
Reference in New Issue
Block a user