fix loading of string content saved as binary

This commit is contained in:
zadam
2023-06-14 22:21:22 +02:00
parent 8d2958738f
commit 75c6afd1c3
20 changed files with 64 additions and 66 deletions

View File

@@ -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;
}