mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
global link map setup
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import ButtonWidget from "./button_widget.js";
|
||||
import appContext from "../../services/app_context.js";
|
||||
|
||||
// TODO: here we could read icon and title of the target note and use it for tooltip and displayed icon
|
||||
|
||||
export default class OpenNoteButtonWidget extends ButtonWidget {
|
||||
targetNote(noteId) {
|
||||
this.onClick(() => appContext.tabManager.openTabWithNoteWithHoisting(noteId, true));
|
||||
|
||||
Reference in New Issue
Block a user