mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-13 00:59:22 -06:00
Merge branch 'stable'
This commit is contained in:
@@ -373,6 +373,7 @@ async function updateNote(noteId, noteUpdates) {
|
||||
note.isProtected = noteUpdates.isProtected;
|
||||
await note.save();
|
||||
|
||||
// this might be simplified to just !== undefined
|
||||
if (!['file', 'image', 'render'].includes(note.type)) {
|
||||
noteUpdates.content = await saveLinks(note, noteUpdates.content);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user