mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
use electron 8 spellchecker instead of electron-spellchecker, WIP
This commit is contained in:
@@ -133,12 +133,12 @@ async function getRelationMap(req) {
|
||||
|
||||
resp.relations = resp.relations.concat((await note.getRelations())
|
||||
.filter(relation => noteIds.includes(relation.value))
|
||||
.map(relation => { return {
|
||||
.map(relation => ({
|
||||
attributeId: relation.attributeId,
|
||||
sourceNoteId: relation.noteId,
|
||||
targetNoteId: relation.value,
|
||||
name: relation.name
|
||||
}; }));
|
||||
})));
|
||||
|
||||
for (const relationDefinition of await note.getRelationDefinitions()) {
|
||||
if (relationDefinition.value.inverseRelation) {
|
||||
|
||||
Reference in New Issue
Block a user