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:
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
Block a user