mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
fixes for relation handling + visual design restyled into gray colors
This commit is contained in:
@@ -111,6 +111,7 @@ async function getRelationMap(req) {
|
||||
// FIXME: this actually doesn't take into account inherited relations! But maybe it is better this way?
|
||||
resp.relations = (await repository.getEntities(`SELECT * FROM attributes WHERE isDeleted = 0 AND type = 'relation' AND noteId IN (${questionMarks})`, noteIds))
|
||||
.map(relation => { return {
|
||||
attributeId: relation.attributeId,
|
||||
sourceNoteId: relation.noteId,
|
||||
targetNoteId: relation.value,
|
||||
name: relation.name
|
||||
|
||||
Reference in New Issue
Block a user