fixes to saved search

This commit is contained in:
zadam
2020-08-20 15:23:24 +02:00
parent d037420acb
commit 0b38e24185
8 changed files with 32 additions and 27 deletions

View File

@@ -589,7 +589,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
const note = await branch.getNote();
if (!note) {
throw new Error(`Branch has no note ` + branch.noteId);
throw new Error(`Branch has no note "${branch.noteId}": ${JSON.stringify(note)}`);
}
const title = (branch.prefix ? (branch.prefix + " - ") : "") + note.title;