1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Mobile: Fixed handling of provisional notes

This commit is contained in:
Laurent Cozic
2020-03-06 18:49:30 +00:00
parent 972e5aed8a
commit 51ce7c939d
5 changed files with 55 additions and 41 deletions

View File

@@ -99,7 +99,9 @@ class NoteScreenComponent extends BaseScreenComponent {
const r = await saveDialog();
if (r) return r;
if (!this.state.note.id) {
const isProvisionalNote = this.props.provisionalNoteIds.includes(this.props.noteId);
if (isProvisionalNote) {
return false;
}