mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
global link map WIP
This commit is contained in:
@@ -63,6 +63,11 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
|
||||
const dto = note.dto;
|
||||
dto.content = this.getTypeWidget().getContent();
|
||||
|
||||
// for read only notes
|
||||
if (dto.content === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
protectedSessionHolder.touchProtectedSessionIfNecessary(note);
|
||||
|
||||
await server.put('notes/' + noteId, dto, this.componentId);
|
||||
|
||||
Reference in New Issue
Block a user