mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
hotfix: Edited alertが変な時に出る
This commit is contained in:
@@ -378,6 +378,11 @@ export default class ArticleDetail extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleContentChange (e, value) {
|
handleContentChange (e, value) {
|
||||||
|
let { status } = this.props
|
||||||
|
if (status.mode === IDLE_MODE) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
let { article } = this.state
|
let { article } = this.state
|
||||||
article.content = value
|
article.content = value
|
||||||
let _isContentChanged = article.content !== this.props.activeArticle.content
|
let _isContentChanged = article.content !== this.props.activeArticle.content
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "boost",
|
"name": "boost",
|
||||||
"version": "0.4.1-beta",
|
"version": "0.4.1-beta.1",
|
||||||
"description": "Boost App",
|
"description": "Boost App",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user