mirror of https://github.com/laurent22/joplin.git
Desktop: Fixed issue with the editor showing previous note when it should show nothing
parent
a99db36578
commit
5eb084fd3b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue