mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
added basic CLS support with re-entrant transactions
This commit is contained in:
@@ -108,7 +108,11 @@ function updateNoteFromInputs(note) {
|
||||
}
|
||||
|
||||
async function saveNoteToServer(note) {
|
||||
await server.put('notes/' + note.noteId, note);
|
||||
const dto = Object.assign({}, note);
|
||||
delete dto.treeCache;
|
||||
delete dto.hideInAutocomplete;
|
||||
|
||||
await server.put('notes/' + dto.noteId, dto);
|
||||
|
||||
isNoteChanged = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user