1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 22:15:55 +00:00

added todo

This commit is contained in:
Scott Tolksdorf
2017-01-25 23:58:11 -05:00
parent 22d9982888
commit cbab4f4959

View File

@@ -74,6 +74,7 @@ const MetadataEditor = React.createClass({
},
renderPublish : function(){
//TODO: Move the publish element into here
if(this.props.metadata.published){
return <button className='unpublish' onClick={this.handlePublish.bind(null, false)}>
<i className='fa fa-ban' /> unpublish