mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
frontend attribute cache refactoring WIP
This commit is contained in:
@@ -22,8 +22,6 @@ async function getNote(req) {
|
||||
}
|
||||
}
|
||||
|
||||
await treeService.setCssClassesToNotes([note]);
|
||||
|
||||
return note;
|
||||
}
|
||||
|
||||
@@ -35,8 +33,6 @@ async function createNote(req) {
|
||||
|
||||
const { note, branch } = await noteService.createNewNoteWithTarget(target, targetBranchId, params);
|
||||
|
||||
await treeService.setCssClassesToNotes([note]);
|
||||
|
||||
return {
|
||||
note,
|
||||
branch
|
||||
|
||||
Reference in New Issue
Block a user