mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
touch protected session during note update
This commit is contained in:
@@ -61,6 +61,8 @@ export default class NoteDetailWidget extends TabAwareWidget {
|
||||
const dto = note.dto;
|
||||
dto.content = this.getTypeWidget().getContent();
|
||||
|
||||
protectedSessionHolder.touchProtectedSessionIfNecessary(note);
|
||||
|
||||
await server.put('notes/' + noteId, dto, this.componentId);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user