mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01: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