From e029a3991a1d5cae39155f8c48c732017c785c82 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 31 Jan 2025 22:00:26 +0200 Subject: [PATCH] fix(pdf): not disabled for unprintable note types --- src/public/app/widgets/buttons/note_actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/buttons/note_actions.ts b/src/public/app/widgets/buttons/note_actions.ts index c5a0dafcb..cc310e748 100644 --- a/src/public/app/widgets/buttons/note_actions.ts +++ b/src/public/app/widgets/buttons/note_actions.ts @@ -141,7 +141,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget { this.$convertNoteIntoAttachmentButton = this.$widget.find("[data-trigger-command='convertNoteIntoAttachment']"); this.$findInTextButton = this.$widget.find(".find-in-text-button"); this.$printActiveNoteButton = this.$widget.find(".print-active-note-button"); - this.$exportAsPdfButton = this.$widget.find("export-as-pdf-button"); + this.$exportAsPdfButton = this.$widget.find(".export-as-pdf-button"); this.$showSourceButton = this.$widget.find(".show-source-button"); this.$showAttachmentsButton = this.$widget.find(".show-attachments-button"); this.$renderNoteButton = this.$widget.find(".render-note-button");