mirror of https://github.com/laurent22/joplin.git
Desktop: Fix identification of note in pdf export from main menu. (#2323)
parent
f78729ad1f
commit
ea05fea234
|
@ -1299,7 +1299,7 @@ class NoteTextComponent extends React.Component {
|
|||
|
||||
if (!path) return;
|
||||
|
||||
await this.printTo_('pdf', { path: path, noteId: args.noteId });
|
||||
await this.printTo_('pdf', { path: path, noteId: note.id });
|
||||
} catch (error) {
|
||||
bridge().showErrorMessageBox(error.message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue