mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
Desktop: Fix identification of note in pdf export from main menu. (#2323)
This commit is contained in:
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
Block a user