You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
This commit is contained in:
@@ -846,8 +846,9 @@ class NoteScreenComponent extends BaseScreenComponent {
|
|||||||
|
|
||||||
async folderPickerOptions_valueChanged(itemValue) {
|
async folderPickerOptions_valueChanged(itemValue) {
|
||||||
const note = this.state.note;
|
const note = this.state.note;
|
||||||
|
const isProvisionalNote = this.props.provisionalNoteIds.includes(note.id);
|
||||||
|
|
||||||
if (!note.id) {
|
if (isProvisionalNote) {
|
||||||
await this.saveNoteButton_press(itemValue);
|
await this.saveNoteButton_press(itemValue);
|
||||||
} else {
|
} else {
|
||||||
await Note.moveToFolder(note.id, itemValue);
|
await Note.moveToFolder(note.id, itemValue);
|
||||||
|
Reference in New Issue
Block a user