mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
fixes & tweaks
This commit is contained in:
@@ -6,6 +6,16 @@ class WhatLinksHereWidget extends StandardWidget {
|
||||
|
||||
getMaxHeight() { return "200px"; }
|
||||
|
||||
getHeaderActions() {
|
||||
const $showFullButton = $("<a>").append("show link map").addClass('widget-header-action');
|
||||
$showFullButton.click(async () => {
|
||||
const linkMapDialog = await import("../dialogs/link_map.js");
|
||||
linkMapDialog.showDialog();
|
||||
});
|
||||
|
||||
return [$showFullButton];
|
||||
}
|
||||
|
||||
async doRenderBody() {
|
||||
const targetRelations = await this.ctx.note.getTargetRelations();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user