mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 15:05:31 +08:00
allow exporting code notes from note actions, closes #1315
This commit is contained in:
parent
fd2d49de4f
commit
991b335c3e
1 changed files with 0 additions and 7 deletions
|
@ -126,13 +126,6 @@ export default class NoteActionsWidget extends TabAwareWidget {
|
|||
this.$showSourceButton.attr('disabled', 'disabled');
|
||||
}
|
||||
|
||||
if (note.type === 'text') {
|
||||
this.$exportNoteButton.removeAttr('disabled');
|
||||
}
|
||||
else {
|
||||
this.$exportNoteButton.attr('disabled', 'disabled');
|
||||
}
|
||||
|
||||
this.$protectButton.toggle(!note.isProtected);
|
||||
this.$unprotectButton.toggle(!!note.isProtected);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue