mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
fix loading of string content saved as binary
This commit is contained in:
@@ -665,12 +665,10 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
const branch = froca.getBranch(node.data.branchId);
|
||||
|
||||
if (!note) {
|
||||
console.log(`Node update not possible because note ${node.data.noteId} was not found.`);
|
||||
console.log(`Node update not possible because note '${node.data.noteId}' was not found.`);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!branch) {
|
||||
console.log(`Node update not possible because branch ${node.data.branchId} was not found.`);
|
||||
} else if (!branch) {
|
||||
console.log(`Node update not possible because branch '${node.data.branchId}' was not found.`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user