mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
frontend attribute cache refactoring WIP
This commit is contained in:
@@ -157,12 +157,6 @@ async function deleteRelation(req) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getTargetRelations(req) {
|
||||
const note = await repository.getNote(req.params.noteId);
|
||||
|
||||
return await note.getTargetRelations();
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
updateNoteAttributes,
|
||||
updateNoteAttribute,
|
||||
@@ -171,6 +165,5 @@ module.exports = {
|
||||
getValuesForAttribute,
|
||||
getEffectiveNoteAttributes,
|
||||
createRelation,
|
||||
deleteRelation,
|
||||
getTargetRelations
|
||||
deleteRelation
|
||||
};
|
||||
Reference in New Issue
Block a user