mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
image sync fixes and 4.0.0 electron
This commit is contained in:
@@ -39,7 +39,7 @@ async function updateEntity(sync, entity, sourceId) {
|
||||
}
|
||||
|
||||
function deserializeNoteContentBuffer(note) {
|
||||
if (note.type === 'file' || note.type === 'image') {
|
||||
if (note.content !== null && (note.type === 'file' || note.type === 'image')) {
|
||||
note.content = new Buffer(note.content, 'binary');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user