mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-17 20:11:29 +00:00
added todo
This commit is contained in:
@@ -74,6 +74,7 @@ const MetadataEditor = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderPublish : function(){
|
renderPublish : function(){
|
||||||
|
//TODO: Move the publish element into here
|
||||||
if(this.props.metadata.published){
|
if(this.props.metadata.published){
|
||||||
return <button className='unpublish' onClick={this.handlePublish.bind(null, false)}>
|
return <button className='unpublish' onClick={this.handlePublish.bind(null, false)}>
|
||||||
<i className='fa fa-ban' /> unpublish
|
<i className='fa fa-ban' /> unpublish
|
||||||
|
|||||||
Reference in New Issue
Block a user