diff --git a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js index 1e2c4424..af56a6de 100755 --- a/browser/main/Detail/MarkdownNoteDetail.js +++ b/browser/main/Detail/MarkdownNoteDetail.js @@ -65,7 +65,7 @@ class MarkdownNoteDetail extends React.Component { } componentWillReceiveProps (nextProps) { - if (!this.state.isMovingNote && (nextProps.note.key !== this.props.note.key || nextProps.note.tags.length !== this.props.note.tags.length)) { + if (!this.state.isMovingNote && (nextProps.note.key !== this.props.note.key || nextProps.note.tags.length < this.props.note.tags.length)) { if (this.saveQueue != null) this.saveNow() this.setState({ note: Object.assign({}, nextProps.note)