1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

submit user name

This commit is contained in:
Rokt33r
2015-12-13 14:25:50 +09:00
parent 24e2544544
commit 0e8edf0c72
2 changed files with 13 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ export default class ArticleDetail extends React.Component {
}
renderIdle () {
let { status, activeArticle, folders } = this.props
let { status, activeArticle, folders, user } = this.props
let tags = activeArticle.tags != null ? activeArticle.tags.length > 0
? activeArticle.tags.map(tag => {
@@ -240,7 +240,10 @@ export default class ArticleDetail extends React.Component {
<div className='tags'><i className='fa fa-fw fa-tags'/>{tags}</div>
</div>
<div className='right'>
<ShareButton article={activeArticle}/>
<ShareButton
article={activeArticle}
user={user}
/>
<button onClick={e => this.handleClipboardButtonClick(e)} className='editBtn'>
<i className='fa fa-fw fa-clipboard'/><span className='tooltip'>Copy to clipboard</span>