mirror of https://github.com/laurent22/joplin.git
parent
618d8723d1
commit
d2b81d221b
|
@ -846,8 +846,9 @@ class NoteScreenComponent extends BaseScreenComponent {
|
|||
|
||||
async folderPickerOptions_valueChanged(itemValue) {
|
||||
const note = this.state.note;
|
||||
const isProvisionalNote = this.props.provisionalNoteIds.includes(note.id);
|
||||
|
||||
if (!note.id) {
|
||||
if (isProvisionalNote) {
|
||||
await this.saveNoteButton_press(itemValue);
|
||||
} else {
|
||||
await Note.moveToFolder(note.id, itemValue);
|
||||
|
|
Loading…
Reference in New Issue