mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
moved tab related stuff to tab manager from app context
This commit is contained in:
@@ -58,7 +58,7 @@ export default class CalendarWidget extends CollapsibleWidget {
|
||||
const note = await dateNoteService.getDateNote(date);
|
||||
|
||||
if (note) {
|
||||
appContext.getActiveTabContext().setNote(note.noteId);
|
||||
appContext.tabManager.getActiveTabContext().setNote(note.noteId);
|
||||
}
|
||||
else {
|
||||
alert("Cannot find day note");
|
||||
|
||||
Reference in New Issue
Block a user