mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
don't display export for backend log note, fixes #4076
This commit is contained in:
parent
f591e954f3
commit
513bf252cd
@ -105,6 +105,9 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
|
||||
this.$openNoteExternallyButton.toggle(utils.isElectron());
|
||||
this.$openNoteCustomButton.toggle(utils.isElectron() && !utils.isMac()); // no implementation for Mac yet
|
||||
|
||||
// I don't want to handle all special notes like this, but intuitively user might want to export content of backend log
|
||||
this.toggleDisabled(this.$exportNoteButton, !['_backendLog'].includes(note.noteId));
|
||||
}
|
||||
|
||||
async convertNoteIntoAttachmentCommand() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user