mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
initial integration of note list renderer into search results
This commit is contained in:
@@ -67,6 +67,15 @@ export default class DialogCommandExecutor extends Component {
|
||||
appContext.triggerCommand('focusOnDetail', {tabId: tabContext.tabId});
|
||||
}
|
||||
|
||||
async searchNotesCommand() {
|
||||
const searchNote = await dateNoteService.createSearchNote();
|
||||
|
||||
const tabContext = await appContext.tabManager.openTabWithNote(searchNote.noteId, true);
|
||||
|
||||
appContext.triggerCommand('focusOnDetail', {tabId: tabContext.tabId});
|
||||
|
||||
}
|
||||
|
||||
showBackendLogCommand() {
|
||||
import("../dialogs/backend_log.js").then(d => d.showDialog());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user