mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
link fixes
This commit is contained in:
@@ -55,13 +55,11 @@ class LinkMapWidget extends StandardWidget {
|
||||
async loadNotesAndRelations() {
|
||||
this.cleanup();
|
||||
|
||||
const linkTypes = [ "hyper", "image", "relation", "relation-map" ];
|
||||
const maxNotes = 50;
|
||||
|
||||
const currentNoteId = this.ctx.note.noteId;
|
||||
|
||||
const links = await server.post(`notes/${currentNoteId}/link-map`, {
|
||||
linkTypes,
|
||||
maxNotes,
|
||||
maxDepth: 1
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user