1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-20 13:11:44 +00:00

Tag suggest

This commit is contained in:
Rokt33r
2015-11-16 04:06:14 +09:00
parent 7e04fd342c
commit 409eaf54c1
5 changed files with 170 additions and 57 deletions

View File

@@ -303,7 +303,7 @@ export default class ArticleDetail extends React.Component {
}
renderEdit () {
let { folders, status } = this.props
let { folders, status, tags } = this.props
let folderOptions = folders.map(folder => {
return (
@@ -326,6 +326,7 @@ export default class ArticleDetail extends React.Component {
<TagSelect
tags={this.state.article.tags}
onChange={(tags, tag) => this.handleTagsChange(tags, tag)}
suggestTags={tags}
/>
{status.isTutorialOpen ? tagSelectTutorialElement : null}