mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge branch 'stable'
This commit is contained in:
commit
3149dff880
@ -270,7 +270,10 @@ class NoteDetailBook {
|
||||
return type;
|
||||
}
|
||||
|
||||
getContent() {}
|
||||
getContent() {
|
||||
// for auto-book cases when renaming title there should be content
|
||||
return "";
|
||||
}
|
||||
|
||||
show() {
|
||||
this.$component.show();
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user