mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
moved tab management to app context
This commit is contained in:
@@ -31,7 +31,7 @@ export async function showDialog() {
|
||||
}
|
||||
|
||||
$dialog.on('shown.bs.modal', () => {
|
||||
const note = noteDetailService.getActiveTabNote();
|
||||
const note = appContext.getActiveTabNote();
|
||||
|
||||
linkMapService = new LinkMapService(note, $linkMapContainer, getOptions());
|
||||
linkMapService.render();
|
||||
|
||||
Reference in New Issue
Block a user