mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 23:29:55 +01:00
added note hoisting option to the note launcher
This commit is contained in:
@@ -4,8 +4,8 @@ export default class ScriptLauncher extends AbstractLauncher {
|
||||
constructor(launcherNote) {
|
||||
super(launcherNote);
|
||||
|
||||
this.title(this.launcherNote.title)
|
||||
.icon(this.launcherNote.getIcon())
|
||||
this.title(() => this.launcherNote.title)
|
||||
.icon(() => this.launcherNote.getIcon())
|
||||
.onClick(() => this.launch());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user