mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
added today launcher
This commit is contained in:
@@ -32,12 +32,13 @@ export default class NoteLauncher extends AbstractLauncher {
|
||||
}
|
||||
|
||||
async launch(evt) {
|
||||
const targetNoteId = this.getTargetNoteId();
|
||||
// await because subclass overrides can be async
|
||||
const targetNoteId = await this.getTargetNoteId();
|
||||
if (!targetNoteId) {
|
||||
return;
|
||||
}
|
||||
|
||||
const hoistedNoteId = this.getHoistedNoteId();
|
||||
const hoistedNoteId = await this.getHoistedNoteId();
|
||||
|
||||
if (!evt) {
|
||||
// keyboard shortcut
|
||||
|
||||
Reference in New Issue
Block a user