1
0
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:
mic704b 2020-01-25 07:57:11 +11:00 committed by Laurent Cozic
parent f78729ad1f
commit ea05fea234

View File

@ -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);
}