mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Fix
This commit is contained in:
@@ -200,6 +200,7 @@ class MarkdownNoteDetail extends React.Component {
|
||||
}
|
||||
ee.once('list:moved', dispatchHandler)
|
||||
})
|
||||
.then(() => ee.emit('list:moved'))
|
||||
}
|
||||
} else {
|
||||
if (confirmDeletion()) {
|
||||
@@ -210,10 +211,11 @@ class MarkdownNoteDetail extends React.Component {
|
||||
}, () => {
|
||||
this.save()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
ee.emit('list:next')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleUndoButtonClick (e) {
|
||||
const { note } = this.state
|
||||
|
||||
@@ -193,6 +193,7 @@ class SnippetNoteDetail extends React.Component {
|
||||
}
|
||||
ee.once('list:moved', dispatchHandler)
|
||||
})
|
||||
.then(() => ee.emit('list:moved'))
|
||||
}
|
||||
} else {
|
||||
if (confirmDeletion()) {
|
||||
@@ -203,10 +204,11 @@ class SnippetNoteDetail extends React.Component {
|
||||
}, () => {
|
||||
this.save()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
ee.emit('list:next')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleUndoButtonClick (e) {
|
||||
const { note } = this.state
|
||||
|
||||
Reference in New Issue
Block a user