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

Mobile: Fixes #10166: Fix clicking on a link results in a blank screen (#10168)

This commit is contained in:
Henry Heino 2024-03-21 03:48:35 -07:00 committed by GitHub
parent 0c6df3dd73
commit 180f52dab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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