mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
This commit is contained in:
parent
0c6df3dd73
commit
180f52dab2
@ -548,7 +548,7 @@ class NoteScreenComponent extends BaseScreenComponent<Props, State> implements B
|
||||
});
|
||||
}
|
||||
|
||||
if (prevProps.noteId && prevProps.noteId !== this.props.noteId) {
|
||||
if (prevProps.noteId && this.props.noteId && prevProps.noteId !== this.props.noteId) {
|
||||
// Easier to just go back, then go to the note since
|
||||
// the Note screen doesn't handle reloading a different note
|
||||
const noteId = this.props.noteId;
|
||||
|
Loading…
Reference in New Issue
Block a user