mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
hotfix: Edited alertが変な時に出る
This commit is contained in:
@@ -378,6 +378,11 @@ export default class ArticleDetail extends React.Component {
|
||||
}
|
||||
|
||||
handleContentChange (e, value) {
|
||||
let { status } = this.props
|
||||
if (status.mode === IDLE_MODE) {
|
||||
return
|
||||
}
|
||||
|
||||
let { article } = this.state
|
||||
article.content = value
|
||||
let _isContentChanged = article.content !== this.props.activeArticle.content
|
||||
|
||||
Reference in New Issue
Block a user