mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
improvements
This commit is contained in:
@@ -8,7 +8,7 @@ export default class BackInHistoryButtonWidget extends AbstractHistoryNavigation
|
||||
.title("Go to previous note.")
|
||||
.command("backInNoteHistory")
|
||||
.titlePlacement("right")
|
||||
.buttonNoteIdProvider(() => 'lb_backinhistory')
|
||||
.buttonNoteIdProvider(() => 'lbBackInHistory')
|
||||
.onContextMenu(e => this.showContextMenu(e));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ export default class ForwardInHistoryButtonWidget extends AbstractHistoryNavigat
|
||||
.title("Go to next note.")
|
||||
.command("forwardInNoteHistory")
|
||||
.titlePlacement("right")
|
||||
.buttonNoteIdProvider(() => 'lb_forwardinhistory')
|
||||
.buttonNoteIdProvider(() => 'lbForwardInHistory')
|
||||
.onContextMenu(e => this.showContextMenu(e));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ const TPL = `
|
||||
|
||||
export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
isEnabled() {
|
||||
return !this.note?.isLaunchBarConfig();
|
||||
return this.note?.type !== 'launcher';
|
||||
}
|
||||
|
||||
doRender() {
|
||||
|
||||
Reference in New Issue
Block a user