1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Fixed issue with the editor showing previous note when it should show nothing

This commit is contained in:
Laurent Cozic 2020-05-20 00:13:59 +00:00
parent a99db36578
commit 5eb084fd3b

View File

@ -514,7 +514,7 @@ function NoteEditor(props: NoteEditorProps) {
);
}
if (formNote.encryption_applied || !formNote.id) {
if (formNote.encryption_applied || !formNote.id || !props.noteId) {
return renderNoNotes(styles.root);
}