mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
refactored TabContext => NoteContext
This commit is contained in:
@@ -56,7 +56,7 @@ export default class CalendarWidget extends CollapsibleWidget {
|
||||
const note = await dateNoteService.getDateNote(date);
|
||||
|
||||
if (note) {
|
||||
appContext.tabManager.getActiveTabContext().setNote(note.noteId);
|
||||
appContext.tabManager.getActiveNoteContext().setNote(note.noteId);
|
||||
}
|
||||
else {
|
||||
alert("Cannot find day note");
|
||||
|
||||
Reference in New Issue
Block a user