mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
moved tab related stuff to tab manager from app context
This commit is contained in:
@@ -168,7 +168,7 @@ export default class SearchBoxWidget extends BasicWidget {
|
||||
}
|
||||
|
||||
searchInSubtreeListener({noteId}) {
|
||||
noteId = noteId || appContext.getActiveTabNoteId();
|
||||
noteId = noteId || appContext.tabManager.getActiveTabNoteId();
|
||||
|
||||
this.toggle(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user