mirror of
https://gitlab.com/arnekeller/trilium-timeline.git
synced 2024-11-13 20:53:08 +00:00
7 lines
200 B
JavaScript
7 lines
200 B
JavaScript
|
// Add UI Button shortcut
|
||
|
api.addButtonToToolbar({
|
||
|
title: 'Timeline',
|
||
|
icon: 'bx bxs-calendar',
|
||
|
action: async () => api.activateNote(await api.startNote.getRelationValue('targetNote'))
|
||
|
});
|