mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
many small fixes from Intellij analysis
This commit is contained in:
@@ -90,7 +90,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
});
|
||||
}
|
||||
|
||||
refreshWithNote(note) {
|
||||
async refreshWithNote(note) {
|
||||
this.$convertNoteIntoAttachmentButton.toggle(note.isEligibleForConversionToAttachment());
|
||||
|
||||
this.toggleDisabled(this.$findInTextButton, ['text', 'code', 'book', 'search'].includes(note.type));
|
||||
|
||||
Reference in New Issue
Block a user