global link map WIP

This commit is contained in:
zadam
2021-09-18 14:29:41 +02:00
parent a0caa21458
commit dd37f09309
6 changed files with 88 additions and 32 deletions

View File

@@ -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);